Shahrayar123 / Python-Projects

Basic Python projects, good first issue
272 stars 274 forks source link

Fixed program crashing when board is full #185

Open mhelguero opened 4 months ago

mhelguero commented 4 months ago

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