Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 813 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 813 Bytes

Dinobot

Machine learning bot for Chrome's offline dinosaur game that uses brain.js as the neural network library.

How to use

Setup

  1. Install with git clone https://github.com/JohanWinther/Dinobot.git and then npm install.
  2. Start server with npm start.
  3. Navigate to localhost:3000.

Play

  1. Record your actions by yourself or hardcode a bot. Game data and keyboard inputs will be recorded as example input and output data.
  2. The network is then trained on these samples.
  3. Watch it play without any user input! Just like magic!

Credit

The game is from the Chromium team. See the source from Chromium