Skip to content

JasAAA/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SnakeGame

Welcome to the Python Snake Game! This classic game is a fun and engaging way to pass the time. Follow the instructions below to get started.

How to Play

Download the Game File:

Download the Snake.py file from this repository.

Run the Game:

Open the Snake.py file with your preferred Python IDE (such as PyCharm, VS Code, Thonny etc.).
Run the script to start the game.
Control the Snake: Use the arrow keys on your keyboard (Up, Down, Left, Right) to invoke the game and control the direction of the snake.

image

Game Over Conditions:

The game will end if the snake collides with the border of the game area or with its own body.
Once the game is over, your final score will be displayed on the middle of the window.

Restart the Game:

Click the "Restart" button to play again.

image

Features

1.Classic Snake gameplay with keyboard controls.
2.Score calculation during the game.
3.Option to restart the game and try again.

About

Python Snake Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages