Skip to content

sshlpe/Ascii-Pysnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ascii-Pysnake

Snake Game made with AsciiMatics, base and tasted only with Python 3.7

my gif

Install

clone the repository and install dependencies.

git clone https://github.com/sshlpe/Ascii-Pysnake.git
cd Ascii-Pysnake
pip3 install -r requirements.txt

Play

To play just run on terminal

python3 snake.py
  • The game is terminal-base and set to the terminal size when started.
  • On menu, press 'space' to start playing or 'b' to make the bot start.
  • The Snake moves with 'w', 's', 'a', 'd' keys for 'up', 'down', 'left', 'right.
  • Pressing 'b' on anypoint starts the bot Best-First-Search mode, pressing the moving keys again gives back the control.
  • Pressing 'q' on any point quits the game.

Releases

No releases published

Packages

No packages published

Languages