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
Code a Snake Game with Python and Pygame π – Tutorial
Code a Snake Game with Python and Pygame π – Tutorial
More Code a Snake Game with Python and Pygame π – Tutorial Videos