Share your repls and programming experiences

← Back to all posts
Tic Tac Toe
EmmaGao8 (24)

Play TicTacToe on the computer! It has been a long time since I made any python code, so if you find any bugs/errors were they are not suppose to be, please put them in the comments below.

1. Ask your friend to come play TicTacToe.
2. Decide who would be X and who would be O.
3. Place Xs and Os on a square by typing the corresponding number.
4. If you are X and you got 3 Xs in a row either by a digonal, column, or row, you win. Similarly, if you friend gets 3 in a row, he/she wins.