Skip to content

Instantly share code, notes, and snippets.

@jamesshah
Created November 14, 2019 04:44
Show Gist options
  • Save jamesshah/f77b10e651c9c9837bd6852f8bc1efad to your computer and use it in GitHub Desktop.
Save jamesshah/f77b10e651c9c9837bd6852f8bc1efad to your computer and use it in GitHub Desktop.
board_keys = []
for key in theBoard:
board_keys.append(key)
restart = input("Do want to play Again?(y/n)")
if restart == "y" or restart == "Y":
for key in board_keys:
theBoard[key] = " "
game()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment