Skip to content

A self-playing bot built with NEAT-python for Chrome T-Rex game recreated in pygame

License

Notifications You must be signed in to change notification settings

SparshaSaha/Self-Playing-AI-Bot-using-Evolutionary-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obstacle-Avoiding-AI-bot

A self-playing bot built with NEAT-python for Chrome T-Rex game recreated in pygame

Requirements

  1. Python3
  2. NEAT-python
  3. Pygame

Algorithm

We have used NEURO EVOLUTION OF AUGMENTED TOPOLOGIES (NEAT) for designing the AI-bot. NEAT is a very handy algorithm and is actively used in AI design. More information about NEAT can be found here.

There is a great python library for NEAT in python developed by CodeReclaimers. We have used NEAT Python for implementing NEAT for the evolution of our AI-bot.

Folder and Files Description

1> TheGame This contains the Game written in pygame and playbale by humans

2> TheGameAndTheGeneticAI

i> Game.py contains the code to train the AI

ii> GameForAi.py contains the game played by the best trained AI

Video Link: https://youtu.be/fLJsuVCr5L0