Play the Chrome Dino game using hand gestures or using a bot (WIP).
About The Project • How To Use • Examples • Best Practice •
DinoBot is a Python script for playing the Dinosaur Game (also known as the Chrome Dino). It has the option to control the game with your hand through a video capture device, and the option to play it AFK using a bot. I'm aware that the bot has very poor performance, feel free to open an issue about that.
- Clone the repo
git clone https://github.com/pearsettings44/DinoBot
- Install requirements
pip install -r requirements.txt
- Start the script (using -v or -b flag)
python3 ./dinobot.py -v
usage: dinobot.py [-h] [-b] [-v]
optional arguments:
-h, --help show this help message and exit
-b, --bot play using a bot
-v, --video play using video capture
To quit the script - press 'q'
Hand closed (No command).
Index finger up (Jump).
Bot in action (should have used a gif :P)
For the most accurate results, here are some recommendation you should follow:
- When using your video capture device of choice, make sure it has a decent amount of fps.
- Make sure you're in a illuminated space, turn on desk lights or open the windows.
- Try to keep your hands facing the camera in a good angle.