An open API service indexing awesome lists of open source software.

https://github.com/dimplektech/snake-game


https://github.com/dimplektech/snake-game

Last synced: over 1 year ago
JSON representation

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