Giter Club home page Giter Club logo

qlearn-game's Introduction

Welcome to QLearn

QLearn is a game that that can be controlled by an AI trained with Q-learning. Check it out here.

What is Q-learning?

Q-learning is a reinforcement learning algorithm where an agent gets progressively better approximations of the expected reward from taking particular actions through trial and error. It operates in a Markov Decision Process where not all the reward and transition functions are known.

What can Reinforcement Learning be used for?

Check out this Medium article.

What technologies were used in this project?

This is a React.JS project bootstrapped with create-react-app. It used web workers to train the bot asynchronously. It also used refs to manage focus, and Recharts for the graph.

Tips for enjoying the game

Think about how in certain maps the agent will have to make trade offs between risk and reward, and try to make the decision tough! Going past a red end state is risky because depending on the Fail Rate the agent might accidently go into it. On the other hand, if the agent can reach a green end state quickly then he accumulates minimal cost of living, increasing the total reward at the end. See how it makes progress training normally, and see how much of a boost Train Asynchronously can give. Have fun!

qlearn-game's People

Contributors

nivista avatar

Stargazers

Thomas Gorman 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.