Skip to content

lemonyte/terminal-snake

Repository files navigation

Terminal Snake

The classic Snake game, in your terminal.

Screenshot

Requirements

Python File

Windows Systems

Optional executable file for Windows users. Python and the required packages are included in the executable.

  • 6 MB of free space for the executable
  • 7 MB of free space for temporary files

How To Play

Use W, A, S, D to control the direction of the snake. Press ESC to exit the game, and SPACE to pause the game. Move the snake over the red apples to eat them and grow longer, and avoid hitting the snake's body.

Configuration

The game can be configured by downloading and editing the config.json file. The file must be in the same directory as the executable or the Python file.

Option Description
snake_speed The speed of the snake.
loop Whether the snake can go through walls.
colors The color of each of the game elements.

License

MIT License