Skip to content

🐭 Simple Vue js game with AI agent based on Reinforcement Learning

Notifications You must be signed in to change notification settings

bomzj/catch-cheese

Repository files navigation

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

Releases

No releases published

Packages

No packages published