How to make a "tic tac toe" ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a "tic tac toe" ?

10th Nov 2016, 11:21 AM
Matyss
4 Answers
10th Nov 2016, 10:45 PM
dariusPianotised
dariusPianotised - avatar
0
That answer is not helpful at all. The game is usually set up with a field of 3x3. To win this game is only possible if you get 3 equal symbols in a row. Thus you might take a 2 D array to model the game area or you use collection objects for it. Consider iterating over the area and try to find out where symbols are placed in a row
10th Nov 2016, 10:15 PM
Danny Hale
Danny Hale - avatar
16th Feb 2017, 2:23 PM
[No Name]
[No Name] - avatar
- 1
code it
10th Nov 2016, 9:47 PM
koaNam