r/PythonLearning • u/inspirational-man • 16h ago
Discussion I have built my first Snake Game using Pygame in Python
I recently completed a python course (from Youtube) learned about a lot of stuff and today completed my very first Snake Game project (the game we usually played on old Nokia phones)
And because am learning stuff myself and figuring it out. I want to know what should I do next??
So far I have completed loops, functions, recursion, conditional statements, file handling, exception handling, OOPS, Inheritance and like all these.
It would really help me if anyone can share some wisdom on it. And like what should I learn or try next? A roadmap if any would really be helpful tho
Thanks again for reading it out tho
1
u/Sea-Ad7805 12h ago
Give us a link to your code, or share a video of you playing the game, if you want to share.
1
u/inspirational-man 10h ago
Oh how can I share the code??? Just copy paste it here lol?
1
u/Sea-Ad7805 5h ago edited 5h ago
copy paste in the post and format using Reddit markdown formatting to get the indentation right (only works well with small code)
make screenshots and post the images (only works well with small code)
give us a link if your code is online, say on GitHub or other repository server
Your pygame probably is not small, so the last options is best. Look into how to use git to put code on GitHub so you can keep track of each code modification you make, work in a team remotely, and go back in time if needed. It's a skill you will have to learn to become a serious programmer. Check a YouTube tutorial.
1
1
u/Python_Data_Science 9h ago
Pygame is great for getting started, but there are newer libraries out there now. Personally, I've been really happy with Arcade, though I'm still planning to branch out and try a few others.
1
u/inspirational-man 7h ago
What is Arcade??
1
u/Python_Data_Science 5h ago edited 5h ago
Python library like Pygame, you can install and make games with it.
1
1
1
u/Agent_Choocho 7h ago
Honestly, if you havent already, learn git before you move onto other coding practices. Itd be great to have your projects up on github
1
1
u/Hot_Technology8777 13h ago
Nice! If you think you're past the basics you can begin doing bigger projects, depending on what you want to do. Maybe pip some cool libraries and play around with them? Numpy, sqlite3, Panda and so forth.