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.
Go to file
2025-02-23 12:20:23 -05:00
src Add testing framework and debug mode 2025-02-23 12:20:23 -05:00
tests Add testing framework and debug mode 2025-02-23 12:20:23 -05:00
.gitignore Update .gitignore to properly exclude virtual environments 2025-02-23 12:14:17 -05:00
LICENSE Initial commit 2025-02-23 17:09:40 +00:00
pytest.ini Add testing framework and debug mode 2025-02-23 12:20:23 -05:00
README.md Merge remote changes and resolve conflicts 2025-02-23 12:11:44 -05:00
requirements.txt Initial commit: Basic project structure and snake game implementation 2025-02-23 12:02:17 -05:00
ROADMAP.md Add main menu system with game mode selection 2025-02-23 12:16:14 -05:00
run_game.py Add testing framework and debug mode 2025-02-23 12:20:23 -05:00

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

  1. Clone the repository:
git clone https://git.spacetrainclubhouse.com/Rbanh/AI-Snake-Game.git
cd AI-Snake-Game
  1. Create and activate virtual environment:
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Unix or MacOS:
source venv/bin/activate
  1. 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