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/clear-code-projects/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
Auf dieser Seite können Sie das Online-Video Learning pygame by creating Snake [python tutorial] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Clear Code 27 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 447,628 Mal angesehen und es wurde von 9 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!