Learn how to get Free YouTube subscribers, views and likes
Get Free YouTube Subscribers, Views and Likes

Learning pygame by creating Snake [python tutorial]

Follow
Clear Code

A tutorial to teach you the fundamentals of pygame by creating the classic snake game. It is designed for absolute beginners, so you don't need to know any pygame; but you would need knowledge of basic python. But besides that, the project should be useful to understand a slightly more complex project, how to use python classes and how to create a basic game in general.

Hope you enjoy :)

The project file is available here: github.com/clearcodeprojects/Snake

Timestamps:
0:00:00 Intro
0:00:40 How games work
0:02:52 A basic intro to pygame
0:12:26 Drawing in pygame
0:29:25 The logic of snake
0:30:29 Setting up the board
0:43:42 Creating the snake
0:49:00 Moving the snake
0:57:19 Make sneck munch!
1:06:45 Game over states
1:16:17 Creating the fruit graphic
1:18:27 Creating the snake graphics
1:38:45 Grass pattern
1:44:25 Adding the score
1:56:50 Adding the sound
2:00:32 Final tweaks

posted by beswyming0n