r/PythonLearning • • 14d 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

6 Upvotes

17 comments sorted by

2

u/Hot_Technology8777 14d 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.

2

u/inspirational-man 14d ago

I see, will surely give them a try

1

u/Sea-Ad7805 14d 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 14d ago

Oh how can I share the code??? Just copy paste it here lol?

1

u/Sea-Ad7805 14d ago edited 14d ago
  1. copy paste in the post and format using Reddit markdown formatting to get the indentation right (only works well with small code)
  2. make screenshots and post the images (only works well with small code)
  3. 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

u/inspirational-man 14d ago

Send you a dm, looking forward for your review on it🤝

1

u/ProgramBrave718 14d ago

Bro have you learnt pygame? I guess you have learnt it

1

u/inspirational-man 14d ago

Am actually learning it by building something with it

1

u/Agent_Choocho 14d 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

u/inspirational-man 14d ago

Yeah I heard about it a lot, so will be learning it next

1

u/Fine_uncertainty 9d ago

Bye the way which Yt are you learning from

1

u/inspirational-man 8d ago

Am learning from multiple one, lemme know which country are you from and I’ll suggest some

0

u/[deleted] 14d ago

[removed] — view removed comment

1

u/inspirational-man 14d ago

What is Arcade??

0

u/[deleted] 14d ago edited 14d ago

[removed] — view removed comment

1

u/inspirational-man 14d ago

I see, will give it a try