Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 896 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 896 Bytes

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