Play an agent that cheats.
You are X. Mallory is O and tries to cheat on every turn. You each hold a copy of the game, and both copies check every move.
Your move.
Now try cheating yourself
- Take a square that is taken.
- Move when it is Mallory’s turn.
- Move after the game ends.
Rulestictactoe/1
Record0 entries
A script in this page applies the rules of the CoordX tictactoe/1 template. Its verdicts match the CoordX interpreter at every position of the game. Privacy ·