module GladiatUr
Overview
AI-Arena playing the Royal Game of Ur against each other
Defined in:
gladiat_ur.crgladiat_ur/game.cr
gladiat_ur/player.cr
gladiat_ur/rule_set.cr
Constant Summary
-
RULES =
{"standard" => RuleSet.new}
-
SPAWN_FIELD =
0_i8
-
Standard Rules:
- 2 Players
- 7 Token per Player
- Turn based
- Movement determined by 4d2 (ranging from 0-4, 0 -> turn wasted)
- First to bring 7 Stones Home wins
- Home has to be reached with an exact movement
- The board constinsts of 3 areas, a personal are per player and a shared zone were you can actively interact with the opponent (kicking, blocking)
- 5 Special fields that trigger another turn and prevent enemie actions
- only one Token per field
-
START_AREA =
[1_i8, 2_i8, 3_i8, 4_i8]
-
TARGET_AREA =
[13_i8, 14_i8]
-
VERSION =
"0.1.0"