Skip to content

Commit

Permalink
Fix problem on the Tic-Tac-Toe example
Browse files Browse the repository at this point in the history
  • Loading branch information
bugarela committed Dec 13, 2024
1 parent 050a7b0 commit 11341bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/games/tictactoe/tictactoe.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module tictactoe {

action MoveX = all {
nextTurn == X,
not(won(O)),
not(gameOver),
if (boardEmpty) StartInCorner else
if (canWin) Win else
if (canBlock) Block else
Expand All @@ -139,7 +139,7 @@ module tictactoe {

action MoveO = all {
nextTurn == O,
not(won(X)),
not(gameOver),
MoveToEmpty(O),
nextTurn' = X,
}
Expand Down

0 comments on commit 11341bf

Please sign in to comment.