https://github.com/dimplektech/snake-game
https://github.com/dimplektech/snake-game
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dimplektech/snake-game
- Owner: Dimplektech
- Created: 2024-07-26T17:10:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T17:22:08.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T08:43:30.319Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake Game
This is a simple implementation of the classic Snake game using Python's Turtle graphics module. The game allows you to control a snake, eat food, and grow in length while avoiding collisions with the walls and the snake's own body.
## Features
- Control the snake using the arrow keys.
- Eat food to grow in length.
- Detect collisions with walls and the snake's own body to end the game.
## Getting Started
### Prerequisites
- Python 3.x
### Installation
1. Clone the repository:
```bash
git clone https://github.com/Dimplektech/Snake-Game.git
```
2. Navigate to the project directory:
```bash
cd snake-game
```
### Running the Game
Run the `main.py` file using Python:
```bash
python main.py