A polished implementation of the classic Snake game featuring both human player and AI modes. Built with Python and Pygame, this modern take on Snake includes intelligent AI opponents, customizable settings, and a sleek user interface.
src | ||
tests | ||
.gitignore | ||
LICENSE | ||
pytest.ini | ||
README.md | ||
requirements.txt | ||
ROADMAP.md | ||
setup.py | ||
training_config.json |
AI Snake Game
A polished implementation of the classic Snake game with both human player and AI modes.
Features
- Classic snake gameplay with modern graphics
- AI-controlled snake with multiple difficulty levels
- Score tracking and high score system
- Configurable game settings
- Sound effects and background music
Installation
- Clone the repository:
git clone https://git.spacetrainclubhouse.com/Rbanh/AI-Snake-Game.git
cd AI-Snake-Game
- Create and activate virtual environment:
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Unix or MacOS:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
Usage
To start the game:
python src/main.py
Project Structure
ai-snake/
├── src/ # Source code
├── tests/ # Test files
├── assets/ # Game assets (images, sounds)
├── venv/ # Virtual environment
├── README.md # Project documentation
└── requirements.txt # Python dependencies
Development
This project is under active development. See the ROADMAP.md file for current status and planned features.
License
MIT License