Skip to content

tennisleng/slitherioAIFinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slither.io AI Bot

An AI agent that plays Slither.io using NeuroEvolution of Augmenting Topologies (NEAT) algorithm with OpenAI Gym/Universe integration.

Overview

This project implements a neural network-based AI that learns to play Slither.io through evolutionary algorithms. Using NEAT, the agent evolves increasingly sophisticated strategies over generations, demonstrating machine learning concepts in a real-time game environment.

Tech Stack

  • Python - Core implementation
  • NEAT-Python - Neuroevolution algorithm
  • OpenAI Gym/Universe - Game environment integration
  • Neural Networks - Decision-making architecture

Features

  • Autonomous gameplay with visual input processing
  • Evolutionary learning with population-based training
  • Real-time decision making for movement and survival
  • Fitness optimization for score maximization

How It Works

  1. Neural network receives game state (snake position, food, obstacles)
  2. NEAT evolves network topology and weights over generations
  3. Fittest agents survive and reproduce with mutation
  4. Gradually develops survival and scoring strategies

Learning Outcomes

  • Reinforcement learning fundamentals
  • Evolutionary algorithm implementation
  • Neural network architecture design
  • Game AI development

About

AI implementation for Slither.io game - Python-based bot with machine learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages