||3 years ago|
|.gitignore||3 years ago|
|README.md||3 years ago|
|game.capnp||3 years ago|
|game.py||3 years ago|
|init||3 years ago|
|mcts.py||3 years ago|
|move_test.py||3 years ago|
|state.capnp||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:
- Shuffle the following string: SSSSSSSSGGGGGGGLLLLLLTTTTTBBBBYYYUUV
- Fit it into a 6x6 grid
- Check for valid moves (Max = 10) from (5 in east/west and 5 in north/south directions).
- Declare for a house and move Varys to the corresponding character. This must be the farthest card for that house in that direction.
- 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 https://github.com/captn3m0/gothok/