Commit Graph

2 Commits

Author SHA1 Message Date
Cory 9500a68ae7 Fixed TTTGame.check_winner.
What I changed
Added 8 cases to check for to see if someone won: three rows, three columns and two diagonals.

Why I changed it
TTTGame.check_winner always reported false, so the game only ended when the board was full even if someone should have won.
Estimate for remaining time to finish assignment: [Like a few hours assuming my students don't rip a door off its hinges in the bathroom again...]
2024-03-13 13:38:20 -04:00
cchung da4a3bc4c0 Initial commit 2023-08-25 14:34:55 +00:00