What is Tic-Tac-Toe and how can I make this with python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is Tic-Tac-Toe and how can I make this with python?

1st Sep 2019, 12:25 PM
AZMAIN FIEQUE PIASH
AZMAIN FIEQUE PIASH - avatar
2 Answers
+ 3
tic-tac-toe is a game, you need to know the game before you can build it, read about it on Google
1st Sep 2019, 12:27 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Tic-Tac-Toe is a simple game for 2 players. It has a 3×3 grid. One player starts the game by drawing an ❌ on any slot in the grid. Then is opponent's turn to draw a ⭕ in any slot in the grid (except the slot that already has an ❌ on it). Then is again the first player's turn, who will again put an ❌ in any slot in the grid (except the grid that already has an ❌ or a ⭕ on it). This will continue until the grid is either full or until one of the players has already won the game. You can win the game by getting 3 of your marks in the same row as upwards, sidewards or diagonal, before your opponent does it.
1st Sep 2019, 4:06 PM
Seb TheS
Seb TheS - avatar