Skip to content

mzrithm/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🫐 🐍 snake-game

This is my version of the classic Snake Game.

This game was created using the Turtle Module 🐒 and Python 🐍.

This is a single player game. πŸ•΄

The snake is in motion when the game begins.

You move the snake by using the keyboard:

  • Use the ⬆️ key to move up.
  • Use the ⬇️ key to move down.
  • Use the ⬅️ key to move left.
  • Use the ➑️ key to move right.

Food randomly appears on the screen. 🫐

You must move the snake so that the snake's head touches the food. 🫐 🐍

When the snake eats, you get a point. πŸ†

But when the snake eats, the snake's body grows longer. 🀯

The snake cannot touch the "walls" or its own body. If it does, you lose! πŸ’₯

The longer you play, the more challenging the game becomes!

Screen shot of the game ending after the player won 4 points and died hitting the wall.

About

My version of the classic snake game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages