Snake Game in Python

Things that I learned in this project:

  • OOP in Python.
  • Clean code.
  • The curses library.

How to run the game

You need to clone this project and run the file, in src/ folder, with the python interpreter.

git clone
cd snake_game/src
./ # OR: python3

About the game

You can move the snake with arrow keys, vim keys (H, J, K, L) and WASD. Space, Return and O keys do the same thing, they are the confirm key.


View Github