You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nemo b36e3a3367 Start writing tests (again!) 2 years ago
.gitignore Splits mcts code into separate file 2 years ago updates 2 years ago
game.capnp Adds some game logic 3 years ago Start writing tests (again!) 2 years ago
init 2to3 3 years ago Game traversal happening (no limits = crash) 2 years ago Start writing tests (again!) 2 years ago
state.capnp Adds a init script 3 years ago

A Game of Thrones: Hand of the King

See [rules][rules]. This is a very toned down version of the game, without the companion cards as that reduces the state space by a lot (since all house cards can be treated as identical)

Card lists can be found at the following 2 images:


  2. Fit it into a 6x6 grid


  1. Check for valid moves (Max = 10) from (5 in east/west and 5 in north/south directions).
  2. Declare for a house and move Varys to the corresponding character. This must be the farthest card for that house in that direction.
  3. Collect the card, and gain the banner token for that house if you have the highest number of cards for that House (This can be made simpler by giving you the token if you have a proven majority)


If there are no legal moves left in the game, check number of tokens held by each player. Highest banner token player wins.

See my previous python implementation of the game at