Skip to content

nandofromthebando/Snake-Game-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Snake-Game-Python

This is a simple terminal-based Snake game implemented in Python using the curses library.

Prerequisites

Make sure you have Python 3 installed on your system.

How to Play

  1. Run the game by executing the script:

python snake_game.py

  1. Use the arrow keys (Up, Down, Left, Right) to control the direction of the snake.
  2. Try to eat the $ (food) to increase your score.
  3. Don't let the snake hit the walls or run into itself, or the game will end.
  4. Press the ESC key to exit the game.

Controls

  • 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.

Gameplay

  • Your score is displayed at the top of the screen.
  • The snake's speed increases as it grows longer, making the game more challenging.

Game Over

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!

Author

[Your Name]

Feel free to reach out if you have any questions or suggestions.

About

Popular snake game made in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages