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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 100.0%