r/learnpython • u/Still_booting • Jan 01 '26
Project of python
Yesterday when I was watching YouTube a video came and its bout beginners project I saw he was making Tik tak toe game I watched it full from start to finish try to understand but I don't understand he used the methods I never saw before like eval etc etc . I feel so demotivated yesterday I thought I know something but everything crashed..
1
1
u/slapmeat Jan 02 '26
While eval() is generally unsafe to use, don’t be upset, if anything, think of it as a learning experience. Even though you don’t want to use these new things, at least now you know of them. Sometimes, it’s good to know what you don’t know.
If it wasn’t for that video, you wouldn’t have learned about eval() until a later date, or ever at all. When it comes to learning it’s nice to learn all of these tools to have them at your disposal for whatever the case may be, if you use them or not.
2
Jan 01 '26
[removed] — view removed comment
1
u/Still_booting Jan 01 '26
I tried doing it myself but nothing came in my mind like I failed 20 tries so I'm solving other function questions to master functions first then go back to this later
1
u/pachura3 Jan 01 '26
Are you making a Tic Tac Toe game for 2 human players, or are you supposed to create a bot to play against?
1
9
u/Inconstant_Moo Jan 01 '26
Someone using
evalin a tic-tac-toe game has no idea what he's doing and should be in Software Jail. Don't let it worry you.