Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 671 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 671 Bytes

Snake

The simplest implementation of the snake game.

DearPyGui library used for visualization but logic isn't framework-depended and you can reuse snake_util.SnakeBody class as you wish.

Controls

  • Direction: WASD + arrow keys
  • Pause: Spacebar
  • Speed Up/Down: PgUp/PgDn

Installation

$ python -m venv .venv
$ . .venv/bin/activate
$ pip install -r requirements.txt
$ deactivate

Start

$ . .venv/bin/activate
$ python snake_game.py

Settings

See data/snake.toml

License

MIT License

Thanks

to RahulShagri an his https://github.com/RahulShagri/OG-Snake-Game for inspiration