Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.65 KB

File metadata and controls

45 lines (29 loc) · 1.65 KB

SnakeSprint

image

image

SnakeSprint is a classic snake game implemented in Python using the Turtle module. The game features a snake that moves around the screen, eating food to grow longer while avoiding collisions with the walls and its own body.

Getting Started

To play SnakeSprint, simply run the Python script SnakeSprint.py. Use the arrow keys to control the direction of the snake: Up, Down, Left, and Right.

python SnakeSprint.py

Gameplay

  • The snake starts with a length of 1 segment.
  • Eating food increases the snake's length by 1 segment.
  • The game ends if the snake collides with the walls or its own body.
  • Try to achieve the highest score possible by eating as much food as you can without crashing.

Features

  • Simple and intuitive controls.
  • Dynamic scoring system.
  • Adjustable speed for increased challenge.

Dependencies

SnakeSprint requires Python 3.x and the Turtle module, which is included in the standard library.

Credit

Contributing

Contributions to SnakeSprint are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.