Error handling during turns #7
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When an error occurs during a player's turn, the game should catch the error and then declare the other player the winner.
Bonus points for printing the reason a player won onto the game view:
"Player 1 won, they connected four!"
"Player 1 won, player 2 tried to place their token out of bounds"
"Player 1 won, player 2 tried to place their token in a full column"
The text was updated successfully, but these errors were encountered: