Python Speed Coding: Snake Game

Опубликовано: 12 Май 2026
на канале: Red Hen dev
412
5

Can we code the Snake game in Python -- in 15mins?

Nope! -- but kinda badly in half an hour :)

In this video I use the wonderful pygame module to create a window, apply fill colour, get key inputs, create a simple game/update loop, measure a timeStamp, iterate using while loops, and use a list to manage a very basic snake mechanic.

So -- many of the components useful for a games and other projects.

The glorious code (with existing bugs for your enjoyment): https://github.com/RedHenDev/python/b...
Useful resource for working with pygame: https://www.pygame.org/docs/
Example on repl.it: https://repl.it/@RedHenDev/snake

Thanks for watching!