This is the python version of snake game. The rules are simple which if violated, the game ends:
- The snake should not collide with the walls.
- The snake should not feed on itself.
10 game points are awarded if the snake eats the fruit. The goal of the player is to attain the highest score possible.
- Arrow Keys: Moving the snake(Giving the snake direction)
- Space Bar: Restarting the game, if the game is over.
pip install -r requirements.txt
python snake.py