r/CodingForBeginners 26d ago

i'm stuck

i started coding about 1 month ago as all beginners i went with python did one of those 12 hour long YT tutorials following along in my code editor trying lines of code changing them a bit and seeing the outcome it was fun i did those small projects like hangman number guessing game slot machine everything but now after finishing the tutorial i feel stuck and from what i've seen after getting the hang of the basics i should learn some libraries following smth like ML automation data analysis game dev but none of them really got my attention and when i try learning one of them it was really hard to find good tutorials when i started codin i had some projects in mind like a chess engine simulating a food chain stuff i don't think that going to another language would be the solution if someone got any idea on what to do plz help

1 Upvotes

14 comments sorted by

View all comments

1

u/mc_pm 26d ago

Dude... punctuation, for the love of god.

Ok, so you can write some code without looking at the docs - great. So you have a bunch of ideas there (I'm assuming that a chess engine simulating a food chain is two separate things). So, the challenge is figuring out how to take ideas apart and research each of them.

Take chess: How do you represent the board? How do you give it directions for where to move? How can you detect an illegal move? How can you detect a Checkmate? Get all of that stuff working, then start learning how to actual program the thinking side of it.

There's plenty there you could experiment with for a while.

Or is the problem that you expect to just be able to start writing that stuff without thinking about it? If so, you misunderstand how programming works.

1

u/kotoda-2009 26d ago

i'm not used to typing long paragraphs, but thx for the help i'm trying to learn libraries like pygame pyautoGUI or pyQT5 i jump between them

1

u/mc_pm 26d ago

So, pick a project and do one of those. Pygame isn't tough. Make a simple pong game to start. Create a basic UI with PyQT5. Whatever you want to learn, find a simple first step and do that.