How can i make tic tac toe in python?

help me out with the logic

16th Jun 2018, 8:16 AM
Dheeraj Chaudhari
Dheeraj Chaudhari - avatar
1 Answer
make a game board function . map keys to fit the keyboard keys. after every move check if winning lines are filled. make a variable to follow whos turn it is. here is one way to make the game(version i made last year): https://github.com/Xana8U/Small-Projects-n-Tests/blob/master/tictactoe.py
16th Jun 2018, 11:54 AM
Markus Kaleton
Markus Kaleton - avatar