

In this Python tutorial, Caelan uses Pygame, a super cool set of Python modules designed for making simple video games, to build Snake! It can be used to build other retro arcade games like Space Invaders.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. We made this YouTube channel and Kite to help you be more productive:
***************************************
JOIN our community of developers ►
SUBSCRIBE for more Python tips, tutorials, and coding interview prep! ►
Follow us Twitter ►
Github Repo ►
***************************************
ADDITIONAL BEGINNER RESOURCES:
6 Python Tips and Tricks YOU Should Know ►
Push- Up Bot?! Make a Discord Bot in Python [step-by-step tutorial] ►
How to Build HANGMAN in 10 Minutes (Python tutorial) ►
***************************************
Don’t forget to subscribe 🙂
STAY TUNED:
Kite ►
Twitter ►
YouTube ►
source
Its a click bait dude, you go so fast and never actually explain anything beside just poiting at code. May as well pull some code with pygame and decode it line by line by myself. Lame video
I like how his voice is not in sync with his mouth
It says that the last main() is an error and it says to local variable 'snake' reference before assignement… help plsssssssssssssssss!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
remember that one kid with the glasses from the polar express? this is him now
why I can't run it? there are error in def draw. please answer my question~
Sale
the rectangle is totally wrecked
what is point? self.lenght >1 and (point[0] etc.
stop moving your head
when I press up key the sneak just disappears
I'm lost. There are things that you didn't show up in the video and nothing worked
hey dude I like how u made it short, thanks, but make sure u dont cut as much pls!༼ つ ◕_◕ ༽つ
line 1, in <module>
import pygame
ModuleNotFoundError: No module named 'pygame'
it not working because of that
Please talk slower.
next tiem just write code by yourself, horrible to wathcing when its autocomplete
It says that the last main() is an error and it says to local variable 'snake' reference before assignement… help pls
I had many problems installing Pygame, so, for those who are stuck like me, try updating python and then enter pip3.9 install pygame in the terminal. Not sure if it works on Windows, but I don't see why not. Hope it helps!
I followed this video 100% line to line and the program always says "local variable referenced before assignment" for almost everything -.-
it wont let me install it in the terminal
hello can somebody please tell me why the installation for pyjama is not working. i don't think i have pip installed so if somebody could provide me a link that would be epic
6:05
this is not good tutorial
You cut the video in every point, we didn't understand.
so please in next tutorial do not cut the video.
It is giving an error that event object has no attribute key
Please help
i hate the fact you just put the code up in sequences. makes the video pointless when you're just pausing every 2 seconds or watching on 0.5x speed.
Tittle: How to build SNAKE in Python! In Under 5 minutes
The Video: 9 minutes
me: the fuck?!?!?!?!?!?
Why isn't this just "class snake:"? Why do we use "object" in class snake(object)?