Machine learning bot for Chrome's offline dinosaur game that uses brain.js as the neural network library.
- Install with
git clone https://github.com/JohanWinther/Dinobot.git
and thennpm install
. - Start server with
npm start
. - Navigate to localhost:3000.
- Record your actions by yourself or hardcode a bot. Game data and keyboard inputs will be recorded as example input and output data.
- The network is then trained on these samples.
- Watch it play without any user input! Just like magic!
The game is from the Chromium team. See the source from Chromium