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
#2-player tic tac toe | |
# Create the board as a list of empty spaces | |
board = [" " for i in range(9)] | |
# print board in terminal | |
def print_board(): | |
print("_____________") | |
print("|", board[0], "|", board[1], "|", board[2], "|") | |
print("-------------") |