/DinoAI

Primary LanguageJavaScript

Dino AI

A genetic algorithm that learns to solve the Chrome Dinosaur Game.

Developed by Tyler Carberry and Cole Robertson for our Graduate AI class.

Demo

We modified the game to take input from query parameters. These parameters are created from the genetic algorithm and get refined over time.

• Survival: Every round the top 10% of the population gets passed down directly
• Crossover: The top 50% of the population breed and pass on a combination of their genes
• Mutations: There is a 30% chance that an individual has a mutation which slightly modifies one of its genes

Usage

Download Google Chrome if not already installed
Install chromedriver by running brew install chromedriver
Run Driver.java