Make "makeMove" return void.

When doing moves the result must no longer be discarded.
This commit is contained in:
2019-11-20 20:29:01 +01:00
parent 6c983e0795
commit 64f8780e96
3 changed files with 40 additions and 37 deletions

View File

@@ -47,7 +47,7 @@ suite "Test the board result checker":
]
check(checkBoard(game.board[0][0]) == Mark.Player1)
test "board is a draw":
test "board is a draw":
game.board[0][0] = [
[Mark.Player1, Mark.Player2, Mark.Player1],
[Mark.Player2, Mark.Player1, Mark.Player1],