Skip to content

Instantly share code, notes, and snippets.

@horstjens
Last active April 20, 2020 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save horstjens/14c7fec457466251629992337f08721f to your computer and use it in GitHub Desktop.
Save horstjens/14c7fec457466251629992337f08721f to your computer and use it in GitHub Desktop.
ThePythonGameBook, tictactoe step 002
print("[ ] [ ] [ ]\n" * 3) # all in one-line
board="""
r\c 0: 1: 2:
0: [ ] [ ] [ ]
1: [ ] [ ] [ ]
2: [ ] [ ] [ ]"""
print(board)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment