(game "Cross" (players 2) (equipment { (board (hex )) (piece "Marker" Each) }) (rules (play (move Add (to (sites Empty)))) (end { (if (is Connected {(sites Side S) (sites Side NW) (sites Side NE)}) (result Mover Win)) (if (is Connected {(sites Side N) (sites Side SW) (sites Side SE)}) (result Mover Win)) (if (is Connected {(sites Side N) (sites Side S) }) (result Mover Loss)) (if (is Connected {(sites Side NW) (sites Side SE) }) (result Mover Loss)) (if (is Connected {(sites Side NE) (sites Side SW) }) (result Mover Loss)) }) ) ) //------------------------------------------------------------------------------ (option "Board Size" args:{ } { (item "5x5" <5> "The game is played on a 5x5 board") (item "6x6" <6> "The game is played on a 6x6 board") (item "7x7" <7> "The game is played on a 7x7 board") }) //------------------------------------------------------------------------------ (metadata (info { (description "Cross was invented by Cameron Browne in 2008. It is a connection game on a Hex board.") (rules "A player wins by connecting three non-adjacent board sides with a chain of their pieces. A player loses by connecting two opposite board sides with a chain of their pieces (without also connecting three non-adjacent sides).") (source "nestorgames") (id "400") (version "1.3.12") (classification "board/space/connection") (author "Cameron Browne") (publisher "nestorgames (used with permission)") (credit "Eric Piette") (date "2008") } ) (graphics { (player Colour P1 (colour Red)) (player Colour P2 (colour Blue)) }) (ai "Cross_ai" ) )