A classic Snake game implemented in Python using the Pygame library. Control the snake with the arrow keys, eat apples to grow longer, and try to avoid crashing into the walls or your own tail!
This Snake game is a simple and fun project built with Python and Pygame. It's a great way to learn about game development with Pygame and practice basic Python concepts.
- Clone this repository:
git clone https://github.com/s0wjanyaa/SnakeGame.git
- Navigate to the project directory:
cd SnakeGame
- Run the game:
python snake.py
- Up: Up arrow key
- Down: Down arrow key
- Left: Left arrow key
- Right: Right arrow key
- Make sure you have Python installed. You can download it from python.org.
- Install Pygame:
pip install pygame
- Python 3.x
- Pygame