Skip to content
/ snake Public

Classic snake game for the command-line interface.

License

Notifications You must be signed in to change notification settings

iambusra/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Terminal Game

Classic snake game for the command-line interface.

Features

  • Controls: Use arrow keys.
  • High Score Tracking: A local highscore board (.txt file) keeps track of the top 3 highest scores.
  • Adjustable Speed: The snake moves faster as its length grows. Hint: Hold the arrow key to make the snake go even faster.
  • Pause and Restart: Pause and continue the game anytime, or restart.

Screenshots

Start Screen

Gameplay

End Screen

Installation

To play the game, clone this repository to your local machine:

git clone https://github.com/iambusra/snake.git
cd snake

Note for Win users: Install curses library.

pip install curses

About

Classic snake game for the command-line interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages