This is a simple implementation of the classic Snake game using Pygame. The player controls a snake that moves around the screen, eating fruit to grow longer. The game continues until the snake collides with a wall or itself.
- Responsive controls using arrow keys.
- Fruit spawning at random positions on the screen.
- Score tracking based on the length of the snake.
- Game over screen when the snake collides with a wall or itself.
-
Clone the repository:
git clone https://github.com/sevalkayikci/snake-game.git
Install Python if you haven't already.
Install Pygame using pip:
```
pip install pygame
Run the game:
```
python main.py
Controls Use the arrow keys to control the snake's direction: UP: Move the snake upward. DOWN: Move the snake downward. LEFT: Move the snake leftward. RIGHT: Move the snake rightward.
Contributing Contributions are welcome! If you have any ideas for improvements or find any issues, feel free to open an issue or submit a pull request.
Credits Developed by [Seval Kayikci]
Contact
For any inquiries or feedback, please contact [email protected]