Coder Social home page Coder Social logo

bomzj / catch-cheese Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.19 MB

๐Ÿญ Simple Vue js game with AI agent based on Reinforcement Learning

Home Page: https://bomzj.github.io/catch-cheese/dist/

JavaScript 54.25% HTML 3.33% Vue 42.42%
javascript vue game tensorflow reinforcement-learning machine-learning ai

catch-cheese's Introduction

Catch the Cheese

Simple 1D turn based game, where AI agent is built upon Artificial Neural Network learns how to play the game on its own by using Q-Learning algorithm. The goal of the game is to collect cheeses as much as possible avoiding cat.

Catch Cheese Gameplay

This game uses:

  • TensorFlow.js for machine learning in JavaScript
  • Vue.js as engine for game logic and rendering

The code is well commented but requires initial knowledge of Reinforcement Learning.

Prerequisites

  • NPM
  • Node.js

Optional:

  • Chrome Browser
  • Visual Studio Code
  • Visual Studio Code Extensions:
    • Debugger for Chrome
    • Vetur

Installing

npm install

How to Run

Compiles and hot-reloads for development

npm run serve

The command starts dev server at http://localhost:8080/.

F5 in Visual Studio Code opens up http://localhost:8080/ in chrome browser.

Compiles and minifies for production

npm run build

Compiles project into /dist folder

catch-cheese's People

Contributors

bomzj avatar

Stargazers

 avatar Tim Pulver avatar Jasper Blues 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.