I haven't making a java programe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I haven't making a java programe

10th Nov 2016, 8:47 AM
Rakesh Chauhan
Rakesh Chauhan - avatar
2 Answers
+ 1
post your error please
10th Nov 2016, 8:48 AM
Harish Nandoliya
Harish Nandoliya - 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
11th Nov 2016, 12:28 AM
Ceng Shaw
Ceng Shaw - avatar