In this Python / Pygame tutorial you will build a snake and apple game. This Python project for beginners is perfect for you to get exposure on how you can build an end-to-end Python project after learning the basics of Python.
?? Course created by Dhaval Patel from codebasics. Check out his channel: https://www.youtube.com/c/codebasics
? Code: https://github.com/codebasics/python_projects/tree/main/1_snake_game
? Watch the Hindi version of this course: https://youtu.be/k2zZp9Mbd8E
?? Course Contents ??
?? (0:00:00) Intro and create surface
?? (0:21:03) Converting into OOP
?? (0:31:48) Moving block with timer
?? (0:37:10) Draw snake and apple
?? (0:49:34) Snake eats apple, find score
?? (1:07:33) Game over logic
?? (1:20:07) Add background music,image
?? (1:31:45) Convert python to exe
? Thanks to our Champion supporters:
Otis Morgan
DeezMaster
Katia Moran
—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp