Skip to content

Reinforcement Learning AI plays chrome://dino game

Notifications You must be signed in to change notification settings

jayllfpt/ChromeDino

Repository files navigation

ChromeDino

Reinforcement Learning AI plays chrome://dino game

Demo

demo-video

Game:

Download Chrome
Goto: chrome Dino game

You can try Chrome-Dino HTML Game

image

Setup

pip install -r requirements.txt

Important

Remember to open the the game screen in your primary monitor.
Because the game was not in gym environment, so I use OCR to get information from the game environment.
If you want to custom the environment (screenshot location, OCR engine, ...), checkout environment.py

Train model

python train.py
If you want to custom the trainning, checkout train.py

Test model

Feel free to run with default configs: python test.py

Or with custom configs: python test.py --model MODEL_PATH --runtimes --NUMBER_OF_RUN

About

Reinforcement Learning AI plays chrome://dino game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published