Skip to content

Implemetation of NEAT algorithm (NeuroEvolution of Augmenting Topologies ) to build an AI that learns to play Google Chrome Dinosaur Game

License

Notifications You must be signed in to change notification settings

yfe404/neuroevolution-trex-on-steroids

Repository files navigation

Neuroevolution

I love Jurassic Park, I love AI, I love Genetic Algorithms. Let’s mix them all 🦖

Dependencies

Usage

  1. Cd into ./game and run a local dev server to serve the game files =python3 -m http.server
  2. In your browser open http://localhost:8000 or whatever port the server ran in step 0. is running
  3. In your terminal run python main.py
  4. Go back to your browser and refresh
  5. The game should start automatically

Roadmap

  • [x] Extract the game state from the browser
  • [x] Implement a duplex channel to allow for communication between our program and the game.
  • [x] Implement a dummy agent that performs actions randomly to check that our architecture works correctly
  • [x] Implement a CNNAgent randomly initialized that takes as input a ROI (Region Of Interest) and output an action
  • [ ] Persist agents

About

Implemetation of NEAT algorithm (NeuroEvolution of Augmenting Topologies ) to build an AI that learns to play Google Chrome Dinosaur Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published