td-gammon
td-gammon copied to clipboard
Player x also moves clockwise?
After I run the command python main.py --play --restore, I'm able to enter the right clockwise moves for Player o, but why does Player x (the program) also moves clockwise, as shown below? Shouldn't Player x move counter-clockwise?
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
| x | | | | o | | o | | | | | x |
| x | | | | o | | o | | | | | x |
| x | | | | o | | o | | | | | |
| x | | | | | | o | | | | | |
| x | | | | | | o | | | | | |
| o | | | | | | x | | | | | |
| o | | | | | | x | | | | | |
| o | | | | x | | x | | | | | |
| o | | | | x | | x | | | | | o |
| o | | | | x | | x | | | | | o |
| -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
<Player x> Off Board : Bar : <Player o> Off Board : Bar : Player x rolled <6, 5>.
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
| x | x | | | o | | o | | | | | x |
| x | | | | o | | o | | | | | x |
| x | | | | o | | o | | | | | |
| x | | | | | | o | | | | | |
| x | | | | | | o | | | | | |
| o | | | | | | | | | | | |
| o | | | | | | x | | | | | |
| o | | | | | | x | | | | | |
| o | | | | x | | x | | | | | o |
| o | x | | | x | | x | | | | | o |
| -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
| 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Same bug for me.
Serious bug.
Yep, I believe there's a PR somewhere on here that should fix it but I haven't had time to review.