Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed program crashing when board is full #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhelguero
Copy link

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

…fore doing insertLetter(O, move) when move is null due to the board being full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant