The Snake Game is a classic and addictive video game where the player controls a snake that moves around the screen, eating food to grow in length. The objective is to avoid running into walls or colliding with the snake's own tail while trying to achieve the highest score possible. As the snake consumes more food, it becomes longer, making the game progressively challenging. This project has been implemented using Python and the Pygame library, which provides the necessary tools to create a visually appealing and interactive Snake Game.
- Control the snake's movement using arrow keys.
- Random placement of food items on the screen.
- Score tracking to monitor the player's progress.
- Game over when the snake collides with a wall or itself.
- Increasing difficulty as the snake grows longer.
- Mariela Quintanar De la Mora
- Python
- Pygame
- Clone the repository to your local machine.
- Make sure you have Python and Pygame installed on your system.
- Run the game using the command
python snake_game.py
. - Use the arrow keys to control the snake's direction.
- Collect the food items to grow the snake and earn points.
- Avoid running into walls or the snake's tail.
- Try to achieve the highest score before the game ends.