(game "Pathway" (players 2) (equipment { (board (square )) (piece "Disc" Each) }) (rules (play (move Add (to (sites Empty) if:(or (all Sites (sites Around (to) Orthogonal ) if:(is Empty (site)) ) (= 1 (count Sites in:(sites Around (to) Own Orthogonal ) ) ) ) ) ) ) (end ("NoMoves" Win)) ) ) //------------------------------------------------------------------------------ (option "Board Size" args:{ } { (item "6" <6> "A 6x6 board is currently selected")* (item "8" <8> "A 8x8 board is currently selected") } ) //------------------------------------------------------------------------------ (metadata (info { (description "Pathway is a simple game made by Mark Steere. It was designed to be easy to program.") (rules "Players take turns placing one of their stones on an empty square. It is not legal to place orthogonally adjacent to only enemy stones and it is not legal to place orthogonally adjacent to more than 1 friendly stone. All other placements onto empty squares are legal. Put differently: You may place adjacent to no stone or to exactly 1 friendly and any number of enemy stones. The first player unable to place a stone has won the game.") (id "1507") (source "http://www.marksteeregames.com/") (version "1.3.14") (classification "board/space/blocking") (author "Mark Steere") (publisher "Mark Steere Games (used with permission)") (credit "Michael Amundsen") (date "2021") } ) (ai "Pathway_ai" ) )