This is a simple terminal-based Snake game implemented in Python using the curses library.
Make sure you have Python 3 installed on your system.
- Run the game by executing the script:
python snake_game.py
- Use the arrow keys (Up, Down, Left, Right) to control the direction of the snake.
- Try to eat the
$
(food) to increase your score. - Don't let the snake hit the walls or run into itself, or the game will end.
- Press the
ESC
key to exit the game.
- Arrow Up: Move the snake up.
- Arrow Down: Move the snake down.
- Arrow Left: Move the snake left.
- Arrow Right: Move the snake right.
- ESC: Quit the game.
- Your score is displayed at the top of the screen.
- The snake's speed increases as it grows longer, making the game more challenging.
When the game ends (either by hitting a wall or colliding with itself), your final score will be displayed in the terminal.
Enjoy the game and see how high you can score!
[Your Name]
Feel free to reach out if you have any questions or suggestions.