https://intersob.math.muni.cz/oldfoto/2/zadani/ukol07.pdf but slightly different
http://karpathy.github.io/2016/05/31/rl/
- Create a bot that is able to beat a human controlling all three stones at once.
- Create three bots controlling one stone each. Use "team spirit" parameter.
First six are coordinates of stones for top player (row and column), in case of being out of the game it is 0 0. Second six are coordinates for bottom player. Next three numbers are states for top player:
- 2 == stone has totem
- 1 == stone had totem this turnover
- 0 == stone did not have totem this turnover
- -1 == stone is out of the game
Last three numbers are states for bottom player.
Actions are coded with:
Enum for where to move. "Out" if there is no plausible move.
Giving number of stone to whom to pass totem (1,2,3 are stones of top player, 4,5,6 are stones of bottom player).