Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 364 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 364 Bytes

README

just paste trexBot.js into the Chrome Console of chrome://dino and the bot will start to learn.

Random Strategy (baseline):

see randomBot.js

100 Iterations: 42.978

Bot:

Config:

const gamma = 0.9;
const alpha = 0.1;
const epsilon = 0.01;
const positive_award = 1;
const negative_award = -100;
const fps = 30;