You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tic Tac Toe - Abnormal mouse click behavior, sometimes resulting in crash #9
Currently mouse-clicks are incorrectly being registered. This sometimes results in a crash with the following error message:
Traceback (most recent call last):
File ".\incorrect-tictactoe.py", line 157, in <module>
clickBoard(board)
File ".\incorrect-tictactoe.py", line 97, in clickBoard
if ((grid[row][col] == "X") or (grid[row][col] == "O")):
IndexError: list index out of range
Normally where the user clicks is where the next X or O should be placed.
changed the title [-]Tic Tac Toe - Mouse click causes crash[/-][+]Tic Tac Toe - Abnormal mouse click behavior, sometimes resulting in crash[/+]on Jun 12, 2019
Activity
[-]Tic Tac Toe - Mouse click causes crash[/-][+]Tic Tac Toe - Abnormal mouse click behavior, sometimes resulting in crash[/+]