Skip to content

ohadch/ohad-ascii-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Snake Game

This ASCII-based snake game works best on Mac's native terminal.

Screen Recording 2024-11-23 at 8 33 08

Installation

  1. Clone the repository:
  2. Install the required packages: pip install -r requirements.txt

How to Play

Run the game by executing the following command in your terminal: python src/snake.py

Use the arrow keys to move the snake in the desired direction.

Eat the food (represented by &) to grow and increase your score.

Avoid hitting the walls or yourself, as that will end the game.

Restarting the Game

After losing, you'll be prompted to restart the game by entering Y or to exit by entering N.

About

Console snake game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages