Giter Site home page Giter Site logo

dinosaur_game_ai's Introduction

Flutter

Dinosaur AI Game

Artificial intelligence learns how to play a replica of Chrome's offline mode Dino game using reinforcement learning with NEAT-Python genetic algorithm.

Progress

Stage 1:

The initial population size is 30, the activation function is set to tanh, and agents (individuals) with the highest score get to reproduce for the next generation.

START

Stage 2:

After a few obstacles, most of the individuals from the population have died, but others learned from their mistakes, optimized their neural networks, and were able to adapt and learn how to beat the game.

MID GAME

Stage 3:

Later when the game started to speed up only one individual was able to survive and keep going. I run the game for a few hours and this t-rex became so good that in my opinion, he could keep going forever. As shown this game is very easy for a computer to learn how to play. And with a good initial population and game setting, AI was able to beat it in just a few generations.

SUPREMACY

dinosaur_game_ai's People

Contributors

upocek avatar

Stargazers

Tamara Ilić avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.