Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parisneo/lollms-snake-game
Experience the classic snake game in Python with Lollms Snake Game. Created using the Pygame library, this game features a snake that eats food and avoids collisions. Enjoy the nostalgic gameplay and challenge yourself with Python!
https://github.com/parisneo/lollms-snake-game
Last synced: 4 days ago
JSON representation
Experience the classic snake game in Python with Lollms Snake Game. Created using the Pygame library, this game features a snake that eats food and avoids collisions. Enjoy the nostalgic gameplay and challenge yourself with Python!
- Host: GitHub
- URL: https://github.com/parisneo/lollms-snake-game
- Owner: ParisNeo
- License: apache-2.0
- Created: 2023-10-11T20:39:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T02:01:02.000Z (10 months ago)
- Last Synced: 2024-10-31T11:29:01.371Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 290 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lollms' Snake Game
[![GitHub stars](https://img.shields.io/github/stars/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game.svg)](https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game/stargazers)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game/blob/main/LICENSE)
[![Pygame version](https://img.shields.io/badge/Pygame-2.0.1-blue.svg)](https://pypi.org/project/pygame/2.0.1/)
[![Python version](https://img.shields.io/badge/Python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)Lollms' Snake Game is a Python implementation of the classic snake game using the Pygame library. This game was created by Lollms' Python expert persona with :
- v1 : GPT3.5-turbo on OpenAI.
- v2 : mistral-large on MistralAI.
## Installation
To run the game, you need to have Python and Pygame installed on your system.1. Clone this repository:
```bash
git clone https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game.git
```2. Change into the game directory:
```bash
cd Lollms-GPT3.5-turbo-Snake-Game
```3. Install the required dependencies:
```bash
pip install pygame
```## Usage
To start the game, run the following command:
```bash
python snake_game.py
```## Game Screenshot
### V1
![image](https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game/assets/827993/d7d6c767-df93-4260-b527-2b55c02b9c21)### V2
![image](https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game/assets/827993/36498cd7-098c-4383-a2fb-38a91dd1aec7)Use the arrow keys to control the snake. The objective is to eat food and avoid collisions with the walls and the snake's own body. The game ends if the snake collides or if you lose all lives.
## License
This project is licensed under the Apache License 2.0. See the [LICENSE](https://github.com/ParisNeo/Lollms-GPT3.5-turbo-Snake-Game/blob/main/LICENSE) file for more details.