I wanted to start the tic tac toe game again if i press to play again option how can I do that | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I wanted to start the tic tac toe game again if i press to play again option how can I do that

I wanted to start the tic tac toe game again if i press to play again option how can I do that

17th Jan 2018, 2:13 PM
Amrish Kumar.G
Amrish Kumar.G - avatar
1 Answer
0
after game is completed you can ask user for character input y/n and accordingly end program or restart game by calling appropriate functions
17th Jan 2018, 6:02 PM
code learner
code learner - avatar