Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 665 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 665 Bytes

Python-plays-Dino

Using python-3 to play T-rex chrome offline game

Requirements

Python3 with following modules.

  1. os
  2. sys
  3. time
  4. PIL
  5. open cv2
  6. numpy
  7. pyautogui
  8. pyscreenshot (for ubuntu users, instead of PIL)

Execution

alt text

To run the code type,

python3 dino.py

Note: Code will require little tweaking with pixels values (x, y, w, h) because screen size and window positions may differ. Any help/ support/ ideas on these are most welcome!

alt text