JevMade Sign in
← Back to experiments

Playable demos & bots

jev-t-rex-runner

Source screenshot of jev-t-rex-runner
SOURCE SCREENSHOTFull screenshot ↗

What it does

Jev plays the Chrome dinosaur runner.

How you can use it

A developer can adapt this code to let an outside AI service play a browser game. The web browser runs the game normally. The AI looks at new obstacles and decides whether to jump or duck. You could borrow this approach to test an automated player in your own customized game.

A background program connects the code to TypeSafe, the external AI service. This hidden program holds a secure access key so the web browser never sees it. If the connection is missing, the automated player switches off. A person can still play the game normally using a keyboard.