Git Product home page Git Product logo

dino-reinforcement-learning's Introduction

Evolutionary Reinforcement Learning for Dino Game

Introduction

Welcome to the Evolutionary Reinforcement Learning for Dino Game project! In this repository, I have implemented a genetic algorithm combined with reinforcement learning to teach an AI agent how to play the popular Dino Game from Google Chrome.

Watch it on YouTube

I created a YouTube video explaining the underlying techniques and concepts utilized in the project, and showcasing the evolution of the AI agent as it learns to play the Dino Game. This video has gained significant attention, accumulating over a million views. You can watch the video here (it's in spanish).

How to use

Processing

To run the simulations yourself, you will need to have Processing installed. Processing is a flexible software sketchbook and a programming language designed for visual arts and creative coding. Processing provides a simplified environment for writing code and creating interactive graphics, making it an ideal choice for implementing the Dino Game AI agent.

To get started, simply download Processing from their official website https://processing.org/

Once installed, open the folder containing the Dino Game project and click on the "run" button within Processing. This will initiate the program and allow you to observe the AI's learning process as it strives to master the game.

Why Processing?

You may wonder why I chose to develop this project entirely from scratch using Processing, instead of using Python and imoprting TensorFlow or other machine learning libraries. The decision was driven by my desire to deeply understand all the princples and details of the AI model. By coding every sigle aspect of the project myself, I had to immerse myself into the smallest features of the algorithms and understand the underlying mathematical concepts behind them. So yes, I could've implemented this way faster and easier using Python and it's advanced libraries, but I believe that coding everything from scratch has provided a lot more of valuable insights and knowledge.

dino-reinforcement-learning's People

Contributors

santifiorino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.