How to build SNAKE in Python! [Pygame tutorial 2020]

///How to build SNAKE in Python! [Pygame tutorial 2020]

How to build SNAKE in Python! [Pygame tutorial 2020]

FavoriteLoadingAdd to favorites

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

By |2020-12-22T11:24:06+00:00December 22nd, 2020|Python Video Tutorials|27 Comments

27 Comments

  1. Konrad Moliński December 22, 2020 at 11:24 am - Reply

    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

  2. Agirssan_Gaming December 22, 2020 at 11:24 am - Reply

    I like how his voice is not in sync with his mouth

  3. Pratibha Kanchan December 22, 2020 at 11:24 am - Reply

    It says that the last main() is an error and it says to local variable 'snake' reference before assignement… help plsssssssssssssssss!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  4. 64_bit December 22, 2020 at 11:24 am - Reply

    remember that one kid with the glasses from the polar express? this is him now

  5. Tankyubi December 22, 2020 at 11:24 am - Reply

    why I can't run it? there are error in def draw. please answer my question~

  6. Harsh Rawat December 22, 2020 at 11:24 am - Reply

    Sale

  7. Randomness December 22, 2020 at 11:24 am - Reply

    the rectangle is totally wrecked

  8. Oliver Ludwig December 22, 2020 at 11:24 am - Reply

    what is point? self.lenght >1 and (point[0] etc.

  9. Tahmid Bhuiyan December 22, 2020 at 11:24 am - Reply

    stop moving your head

  10. MoNstrs December 22, 2020 at 11:24 am - Reply

    when I press up key the sneak just disappears

  11. Ardi Curero December 22, 2020 at 11:24 am - Reply

    I'm lost. There are things that you didn't show up in the video and nothing worked

  12. Shivesh Chidambaram December 22, 2020 at 11:24 am - Reply

    hey dude I like how u made it short, thanks, but make sure u dont cut as much pls!༼ つ ◕_◕ ༽つ

  13. LOKKI December 22, 2020 at 11:24 am - Reply

    line 1, in <module>

    import pygame

    ModuleNotFoundError: No module named 'pygame'

    it not working because of that

  14. Abishan Ariharan December 22, 2020 at 11:24 am - Reply

    Please talk slower.

  15. Paweł Rozpłochowski December 22, 2020 at 11:24 am - Reply

    next tiem just write code by yourself, horrible to wathcing when its autocomplete

  16. marwane hachim December 22, 2020 at 11:24 am - Reply

    It says that the last main() is an error and it says to local variable 'snake' reference before assignement… help pls

  17. Nameless Human December 22, 2020 at 11:24 am - Reply

    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!

  18. DestroyerFireYT December 22, 2020 at 11:24 am - Reply

    I followed this video 100% line to line and the program always says "local variable referenced before assignment" for almost everything -.-

  19. TheMutedPlayer December 22, 2020 at 11:24 am - Reply

    it wont let me install it in the terminal

  20. Jeni Saint December 22, 2020 at 11:24 am - Reply

    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

  21. JohnnyBoyTheChamp December 22, 2020 at 11:24 am - Reply
  22. Redstonemág December 22, 2020 at 11:24 am - Reply

    this is not good tutorial

  23. Khalid ALQahtani December 22, 2020 at 11:24 am - Reply

    You cut the video in every point, we didn't understand.

    so please in next tutorial do not cut the video.

  24. World Of Code December 22, 2020 at 11:24 am - Reply

    It is giving an error that event object has no attribute key
    Please help

  25. RojoPanda December 22, 2020 at 11:24 am - Reply

    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.

  26. Lotus December 22, 2020 at 11:24 am - Reply

    Tittle: How to build SNAKE in Python! In Under 5 minutes
    The Video: 9 minutes
    me: the fuck?!?!?!?!?!?

  27. Red Hot Dipping Sauce December 22, 2020 at 11:24 am - Reply

    Why isn't this just "class snake:"? Why do we use "object" in class snake(object)?

Leave A Comment

*