This is a simple implementation of the classic Snake game using the Pygame library in Python.
- Clone the repository to your local machine.
- Install Pygame by running
pip install pygame
in your terminal or command prompt. - Run
python main.py
to start the game.
- Use the arrow keys on your keyboard to move the snake.
- The objective of the game is to eat as many apples as possible without colliding with the walls or yourself.
- Each time you eat an apple, your score increases and the snake grows longer.
- The game ends when you collide with a wall or yourself.
You can customize certain aspects of the game by modifying the constants defined at the top of main.py
. For example, you can change the size of the window, speed of the snake, and color scheme.