Python-Projects icon indicating copy to clipboard operation
Python-Projects copied to clipboard

Fixed program crashing when board is full

Open mhelguero opened this issue 1 year ago • 0 comments

added an if statement to break out of while loop if board was full before doing insertLetter(O, move) when move is None due to the board being full, which would cause the program to crash with TypeError: list indices must be integers or slices, not NoneType

now when the board is full, the program declares the outcome of the game and asks if the user would like to play again

mhelguero avatar Feb 22 '24 07:02 mhelguero