← All freeCodeCamp videos

Code a Snake Game with Python and Pygame 🐍 - Tutorial

344,583 views 5,873 likes 2021-04-08 1:35:54 Watch on YouTube ↗ freeCodeCamp ↗
Game DevelopmentPythonPygame

Chapters (8)

Show the creator's full description
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 ❤️ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba) ⭐️ 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

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.