(define "NumNeighbour" (count Sites in:(sites Around (to) Orthogonal if:(is In (to) (sites Occupied by:Neutral)) ) ) ) //------------------------------------------------------------------------------ (game "Snowpaque" (players 2) (equipment { (board (hex 5)) (piece "Marker" Neutral) }) (rules phases:{ (phase "start" P1 (play (move Add (piece (id "Marker0")) (to (sites Empty)))) (nextPhase "play") ) (phase "play" (play (move Add (piece "Marker0") (to (sites Empty) if:(= "NumNeighbour" 1) ) ) ) ) } (end ("NoMoves" Loss)) ) ) //------------------------------------------------------------------------------ (metadata (info { (description "Snowpaque was created from the software AiAi. It is played on a hexagonal board.") (rules "Player 1 marks a cell. Then Players take turns marking any unmarked cell with exactly one marked neighbour. Player who can't move loses.") (source "AiAi") (id "407") (version "1.3.14") (classification "board/space/blocking") (author "Stephen Tavener") (credit "Eric Piette") (date "2015") } ) (ai "Snowpaque_ai" ) )