Skip to content

Instantly share code, notes, and snippets.

View sbwiecko's full-sized avatar

Sébastien Wieckowski sbwiecko

View GitHub Profile
@sbwiecko
sbwiecko / tictactoe.py
Created August 18, 2017 11:52
my personal tic-tac-toe project for the Complete Python Bootcamp/ Jose Portilla (Udemy)
#matrix map of the board is not a real matrix ;-)
#initialized to 0 <-> empty board
mat=[0, 0, 0,
0, 0, 0,
0, 0, 0]
#map_board to map the index of the input in the matrix map
map_board=['A1', 'B1', 'C1',
'A2', 'B2', 'C2',
'A3', 'B3', 'C3']