Write a C program to mimic the popular game tic-tac-toe for two players. It takes positions as input from both the players and put appropriate symbols for respective players. Eventually it checks the winning combinations for the players and prints the result in favor of Player one or player two or declares draw. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a C program to mimic the popular game tic-tac-toe for two players. It takes positions as input from both the players and put appropriate symbols for respective players. Eventually it checks the winning combinations for the players and prints the result in favor of Player one or player two or declares draw.

8th Nov 2016, 3:15 PM
kishlay raj
kishlay raj - avatar
2 Answers
+ 7
It is a very long code and I recommend you to try using Mircosoft visual studio on your PC using window's application (Not console!). This can help you to expose yourself to a different kind of coding technique in C# rather than coding console all day.
9th Nov 2016, 3:03 AM
Wen Qin
Wen Qin - avatar
+ 1
it's a long code, you should try it on your own. If you face any problem, you can ask for it.
8th Nov 2016, 8:05 PM
kamal joshi
kamal joshi - avatar