(game "Omega" (players ) (equipment { (board (hex )) (piece "Marker" Each) }) (rules (play (move Add (piece (+ 1 (% (count Moves) (count Players)))) (to (sites Empty)) (then (if (!= (count MovesThisTurn) (- (count Players) 1)) (moveAgain) ) ) ) ) (end (if (and { (not (is Mover P1)) (is Next P1) (> (pow (count Players) 2) (count Sites in:(sites Empty)) ) }) (byScore ) ) ) ) ) //------------------------------------------------------------------------------ (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 "Players" args:{ } { (item "2" <2> <{(score P1 (* (sizes Group P1))) (score P2 (* (sizes Group P2)))}> "The version of the game played with 2 players." )* (item "3" <3> <{(score P1 (* (sizes Group P1))) (score P2 (* (sizes Group P2))) (score P3 (* (sizes Group P3)))}> "The version of the game played with 3 players." ) (item "4" <4> <{(score P1 (* (sizes Group P1))) (score P2 (* (sizes Group P2))) (score P3 (* (sizes Group P3))) (score P4 (* (sizes Group P4)))}> "The version of the game played with 4 players." ) }) //------------------------------------------------------------------------------ (metadata (info { (description "Omega was invented by Néstor Romeral Andrés in 2010. It is described as a cross between Hex and Go.") (rules "Players take turns placing a piece of each color in an empty site. Play ends at the start of the first players turn, if all the players would not be able to complete their turn. Example: for 2 players less than 4 empty sites. Scores are awarded based on the sizes of the groups of each color on the board, which are multiplied. The player with the highest score wins.") (source "nestorgames.com") (id "447") (version "1.3.14") (classification "board/space/group") (author "Néstor Romeral Andrés") (publisher "nestorgames (used with permission)") (credit "Eric Piette") (date "2010") } ) (ai "Omega_ai" ) )