(game "Havannah" (players 2) (equipment { (board (hex )) (piece "Marker" Each) }) (rules (play (move Add (to (sites Empty)))) (end (if (or { (is Loop) (is Connected 3 SidesNoCorners) (is Connected 2 Corners) }) (result Mover Win) ) ) ) ) //------------------------------------------------------------------------------ (option "Board Size" args:{ } { (item "4x4" <4> "The game is played on a 4x4 board") (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") (item "8x8" <8> "The game is played on a 8x8 board")** (item "9x9" <9> "The game is played on a 9x9 board") (item "10x10" <10> "The game is played on a 10x10 board") }) (option "Swap Rules" args:{ } { (item "On" <(meta (swap))> "The game uses the swap rule.") (item "Off" <> "The game does not use the swap rule.")* }) //------------------------------------------------------------------------------ (metadata (info { (description "Havannah is a connection game invented by Christian Freeling and played on a hexagonal board.") (rules "Players take turns placing pieces on the board. There are three winning conditions: 1. Connect any three edges (without corner points), or 2. Make a bridge connection between any two corners, or 3. loop around any site.") (source "Wikipedia") (id "391") (version "1.3.12") (classification "board/space/connection") (author "Christian Freeling") (credit "Eric Piette") (date "1981") } ) (ai "Havannah_ai" ) )