Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.48 KB

README.md

File metadata and controls

71 lines (58 loc) · 2.48 KB

made-with-python


Logo
DinoBot

Play the Chrome Dino game using hand gestures or using a bot (WIP).

About The ProjectHow To UseExamplesBest Practice

screenshot

About The Project

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.

Installation

  1. Clone the repo
    git clone https://github.com/pearsettings44/DinoBot
  2. Install requirements
    pip install -r requirements.txt
  3. Start the script (using -v or -b flag)
    python3 ./dinobot.py -v

Usage

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'

Examples

alt text

Hand closed (No command).

alt text

Index finger up (Jump).

alt text

Bot in action (should have used a gif :P)

Best Practice

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.