Skip to content

Instantly share code, notes, and snippets.

View pd2399's full-sized avatar

Pranav Deshpande pd2399

View GitHub Profile
@pd2399
pd2399 / tictactoe.py
Created April 12, 2020 18:11
Tic Tac Toe
# Game Board
board = [1, 2, 3,
4, 5, 6,
7, 8, 9]
player_symbol = ["X", "O"]
def print_board():
print(board[0], "|", board[1], "|", board[2])
print("--|---|---")