0

Hello, everyone. I was trying to make tic tac toc game for the first time using python. I'm still a beginner. Can you help me?

so I did the code so the user enters his name and whether he wants to play with someone or alone, I finished doing the code for playing with a bot, everything was going good until at some point the game just restarts by itself after playing 3 rounds even if no one has won, and if you entered aa wrong number or a letter it saves the value of the wrap (tic tac toc grid) to it's final value before entering a wrong number. I tried to find the problem for hours but can't really understand why it's doing that. I have the some Russian in the code but I think the code itself is understandable the code : https://www.sololearn.com/compiler-playground/cK0Rd3v4sBia for some reason also it doesn't work well in then playground, but works fine in visual studio code, I think it's because of the multiline string, so please if it's possible copy it and use it in vs code. I'll be very grateful if you can help

17th Aug 2023, 12:07 PM
Mina Mikhaeil
Mina Mikhaeil - avatar
1 Réponse
0
For someone who would like to help but couldn't access his link: https://code.sololearn.com/cK0Rd3v4sBia/?ref=app
17th Aug 2023, 4:40 PM
Dragon RB
Dragon RB - avatar