(game "Taptana" ) //------------------------------------------------------------------------------ (option "Variant" args:{ } { (item "Taptana (Ludii 1)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (play (move Add (to (sites Empty) ) ) ) (end (if (is Line 3) (result Mover Win) ) ) ) > "The Taptana (Ludii 1) ruleset.") (item "Taptana (Ludii 2)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (play (move Add (to (sites Empty) ) ) ) (end (if (is Line 3) (result Mover Win) ) ) ) > "The Taptana (Ludii 2) ruleset.") (item "Taptana (Ludii 3)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (sites Bottom) ) (place "Marker2" (sites Top) ) } ) (play (forEach Piece) ) (end (if (no Moves Next) (result Mover Win) ) ) ) > "The Taptana (Ludii 3) ruleset.") (item "Taptana (Ludii 4)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (sites Bottom) ) (place "Marker2" (sites Top) ) } ) (play (forEach Piece) ) (end (if (no Moves Next) (result Mover Win) ) ) ) > "The Taptana (Ludii 4) ruleset.") (item "Taptana (Ludii 5)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (sites Top) ) (place "Marker2" (sites Bottom) ) } ) (play (forEach Piece) ) (end (if (and (is In (centrePoint) (sites Occupied by:Mover) ) (is Line 3) ) (result Mover Win) ) ) ) > "The Taptana (Ludii 5) ruleset.") (item "Taptana (Ludii 6)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (move Hop Orthogonal (between if: (is Friend (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (play (move Add (to (sites Empty) ) ) ) (end (if (is Line 3) (result Mover Win) ) ) ) > "The Taptana (Ludii 6) ruleset.") (item "Taptana (Ludii 7)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (union (expand (sites Bottom) ) (sites { "D3" "E3"} ) ) ) (place "Marker2" (union (expand (sites Top) ) (sites { "A3" "B3"} ) ) ) } ) (play (if (is Prev Mover) (or (move Hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Pass) ) (forEach Piece) ) ) (end (if (no Pieces Next) (result Next Loss) ) ) ) > "The Taptana (Ludii 7) ruleset.") (item "Taptana (Ludii 8)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (sites Bottom) ) (place "Marker2" (sites Top) ) } ) (play (forEach Piece) ) (end (if (no Pieces Next) (result Next Loss) ) ) ) > "The Taptana (Ludii 8) ruleset.") (item "Taptana (Ludii 9)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (sites Top) ) (place "Marker2" (sites Bottom) ) } ) (play (forEach Piece) ) (end (if (and (is In (centrePoint) (sites Occupied by:Mover) ) (is Line 3) ) (result Mover Win) ) ) ) > "The Taptana (Ludii 9) ruleset.") (item "Taptana (Ludii 10)" < (players 2) (equipment { (board (rectangle 5 5 diagonals:Alternating) use:Vertex) (piece "Marker" P1 (or (move Hop (between if: (is Enemy (who at: (between) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Step (to if: (is Empty (to) ) ) ) ) ) (piece "Marker" P2 (move Step (to if: (is Empty (to) ) ) ) ) } ) (rules (start { (place "Marker1" (union (expand (sites Bottom) ) (sites { "D3" "E3"} ) ) ) (place "Marker2" (union (expand (sites Top) ) (sites { "A3" "B3"} ) ) ) } ) (play (if (is Prev Mover) (or (move Hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) (apply (remove (between) ) ) ) (to if: (is Empty (to) ) ) (then (if (can Move (hop (from (last To) ) (between if: (and (not (is In (between) (sites ToClear) ) ) (is Enemy (who at: (between) ) ) ) ) (to if: (is Empty (to) ) ) ) ) (moveAgain) ) ) ) (move Pass) ) (forEach Piece) ) ) (end (if (no Pieces Next) (result Next Loss) ) ) ) > "The Taptana (Ludii 10) ruleset.") (item "Incomplete" < (players 2) (equipment { ("AlquerqueBoard" 5 5) (piece "Marker" P1 [#]) (piece "Marker" P2 [#]) }) (rules [#]) > "The incomplete ruleset." ) }) //------------------------------------------------------------------------------ (rulesets { (ruleset "Ruleset/Taptana (Ludii 1) (Reconstructed)" { "Variant/Taptana (Ludii 1)" }) (ruleset "Ruleset/Taptana (Ludii 2) (Reconstructed)" { "Variant/Taptana (Ludii 2)" }) (ruleset "Ruleset/Taptana (Ludii 3) (Reconstructed)" { "Variant/Taptana (Ludii 3)" }) (ruleset "Ruleset/Taptana (Ludii 4) (Reconstructed)" { "Variant/Taptana (Ludii 4)" }) (ruleset "Ruleset/Taptana (Ludii 5) (Reconstructed)" { "Variant/Taptana (Ludii 5)" }) (ruleset "Ruleset/Taptana (Ludii 6) (Reconstructed)" { "Variant/Taptana (Ludii 6)" }) (ruleset "Ruleset/Taptana (Ludii 7) (Reconstructed)" { "Variant/Taptana (Ludii 7)" }) (ruleset "Ruleset/Taptana (Ludii 8) (Reconstructed)" { "Variant/Taptana (Ludii 8)" }) (ruleset "Ruleset/Taptana (Ludii 9) (Reconstructed)" { "Variant/Taptana (Ludii 9)" }) (ruleset "Ruleset/Taptana (Ludii 10) (Reconstructed)" { "Variant/Taptana (Ludii 10)" }) (ruleset "Ruleset/Historical Information (Incomplete)" { "Variant/Incomplete" }) }) //------------------------------------------------------------------------------ (metadata (info { (description "Taptána was a game played in Peru. Famously, it is said to have been played by the last Inka emperor, Atahualpa, while he was imprisoned. The board is very similar to Spanish Alquerque, and cannot be dated to before the Spanish conquest.") (aliases {"Taptána" "Comina" "Tapta" "Atapta" "Komina"}) (useFor "Ruleset/Historical Information (Incomplete)" (rules "Played on an Alquerque board.")) (useFor "Ruleset/Historical Information (Incomplete)" (source "DLP evidence.")) (useFor "Ruleset/Historical Information (Incomplete)" (id "336")) (useFor "Ruleset/Taptana (Ludii 1) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Rules: Add one of your pieces to the set of empty vertexs. Aim: If a player places 3 of their pieces in an adjacent direction line, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 1) (Reconstructed)" (id "3728")) (useFor "Ruleset/Taptana (Ludii 2) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Rules: Add one of your pieces to the set of empty vertexs. Aim: If a player places 3 of their pieces in an adjacent direction line, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 2) (Reconstructed)" (id "3729")) (useFor "Ruleset/Taptana (Ludii 3) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the bottom sites of the board. Place a Marker for player two at the top sites of the board.. Rules: Move one of your pieces. Aim: If the next player cannot move, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 3) (Reconstructed)" (id "3730")) (useFor "Ruleset/Taptana (Ludii 4) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the bottom sites of the board. Place a Marker for player two at the top sites of the board.. Rules: Move one of your pieces. Aim: If the next player cannot move, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 4) (Reconstructed)" (id "3731")) (useFor "Ruleset/Taptana (Ludii 5) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the top sites of the board. Place a Marker for player two at the bottom sites of the board.. Rules: Move one of your pieces. Aim: If the centre point of the board is in sites occupied by any component owned by Mover and a player places 3 of their pieces in an adjacent direction line, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 5) (Reconstructed)" (id "3732")) (useFor "Ruleset/Taptana (Ludii 6) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Rules: Add one of your pieces to the set of empty vertexs. Aim: If a player places 3 of their pieces in an adjacent direction line, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 6) (Reconstructed)" (id "3733")) (useFor "Ruleset/Taptana (Ludii 7) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the union of the bottom sites of the board expanded by 1 steps and the vertexes with coordinates [D3, E3]. Place a Marker for player two at the union of the top sites of the board expanded by 1 steps and the vertexes with coordinates [A3, B3].. Rules: If in the same turn, hop adjacent then if can move hop adjacent, move again or pass, else move one of your pieces. Aim: If there are no pieces owned by Player the next player, the next player loses. ")) (useFor "Ruleset/Taptana (Ludii 7) (Reconstructed)" (id "3734")) (useFor "Ruleset/Taptana (Ludii 8) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the bottom sites of the board. Place a Marker for player two at the top sites of the board.. Rules: Move one of your pieces. Aim: If there are no pieces owned by Player the next player, the next player loses. ")) (useFor "Ruleset/Taptana (Ludii 8) (Reconstructed)" (id "3735")) (useFor "Ruleset/Taptana (Ludii 9) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the top sites of the board. Place a Marker for player two at the bottom sites of the board.. Rules: Move one of your pieces. Aim: If the centre point of the board is in sites occupied by any component owned by Mover and a player places 3 of their pieces in an adjacent direction line, the moving player wins. ")) (useFor "Ruleset/Taptana (Ludii 9) (Reconstructed)" (id "3736")) (useFor "Ruleset/Taptana (Ludii 10) (Reconstructed)" (rules "The game Taptana is played by two players on a 5x5 rectangle board with square tiling. All players play with Markers. Rules for Pieces: Markers step adjacent. Players take turns moving. Setup: Place a Marker for player one at the union of the bottom sites of the board expanded by 1 steps and the vertexes with coordinates [D3, E3]. Place a Marker for player two at the union of the top sites of the board expanded by 1 steps and the vertexes with coordinates [A3, B3].. Rules: If in the same turn, hop adjacent then if can move hop adjacent, move again or pass, else move one of your pieces. Aim: If there are no pieces owned by Player the next player, the next player loses. ")) (useFor "Ruleset/Taptana (Ludii 10) (Reconstructed)" (id "3737")) (source "Depaulis 1998: 36-38.") (id "336") (version "1.3.12") (classification "board/war/leaping/lines/reconstruction/done") (credit "Eric Piette") } ) )