This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("================ Tic Tac Toe ================") | |
def printBoard(gameState): | |
"""Print out the current state of the board""" | |
boardString = ''' | |
0 |1 |2 | |
{0} | {1} | {2} | |
_____|_____|_____ | |
3 |4 |5 | |
{3} | {4} | {5} |