boardgame2vec/gothok
Nemo b36e3a3367 Start writing tests (again!) 2018-06-01 19:38:33 +05:30
..
.gitignore Splits mcts code into separate file 2018-05-28 19:42:02 +05:30
README.md updates 2018-04-21 22:09:09 +05:30
game.capnp Adds some game logic 2018-03-04 03:41:11 +05:30
game.py Start writing tests (again!) 2018-06-01 19:38:33 +05:30
init 2to3 2018-03-11 01:48:22 +05:30
mcts.py Game traversal happening (no limits = crash) 2018-05-28 19:55:49 +05:30
move_test.py Start writing tests (again!) 2018-06-01 19:38:33 +05:30
state.capnp Adds a init script 2018-01-28 05:42:39 +05:30

README.md

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:

Setup:

  1. Shuffle the following string: SSSSSSSSGGGGGGGLLLLLLTTTTTBBBBYYYUUV
  2. Fit it into a 6x6 grid

Play:

  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)

Score

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 https://github.com/captn3m0/gothok/