1 min read

Fun Project #3: Snake game

Fun Project #3: Snake game

I decided to create a trimmed-down version of an old classic: Snake game

This was such a blast. More fun with Python.

Checkout the gameplay footage here:

https://clipchamp.com/watch/NysOAdfLej2

In this game, you control a snake that moves around the screen, eating food and growing longer.

The goal of the game is to eat as much food as possible without running into the walls of the game area or colliding with your snake's own body. As you eat food, the snake grows longer, making it more challenging to maneuver.

The game becomes progressively harder as your snake gets longer, and it keeps track of your score based on the number of food items you've consumed.

The tricky part of this project was mainly the snake movement. That took a while to get right. With that out of the way, the other components like detecting collisions with the wall and the snake's body were relatively easier to implement.


If you are interested in checking out the code for this, here is the link:

GitHub - ekowamoonu/snake_game: A poor man’s version of the classic game where you control a snake that moves around the screen, eating food and growing longer
A poor man's version of the classic game where you control a snake that moves around the screen, eating food and growing longer - GitHub - ekowamoonu/snake_game: A poor man's version of the…

Have fun!