ivanseidel / IAMDinosaur

🦄 An Artificial Inteligence to teach Google's Dinosaur to jump cactus
MIT License
2.8k stars 533 forks source link

FAILED TO FIND GAME! on Ubuntu 17.10 #67

Closed SuuSoJeat closed 2 months ago

SuuSoJeat commented 6 years ago

Invalid MIT-MAGIC-COOKIE-1 keyFAILED TO FIND GAME!`` screenshot from 2018-02-07 12-11-10

jwjohns commented 6 years ago

I get the same

ahsanatha commented 6 years ago

same here

chipytux commented 6 years ago

same here

ctcruz commented 6 years ago

I found the solution! This warning message is shown cause the screen is much large and the script have a limitation of scaned pixels. Resize the browser window and execute it again. screenshot from 2018-05-08 01-43-46

dario-bandeira commented 6 years ago

In my case it just worked when I made some changes:

  1. line 10 on GameManipulator.js from var COLOR_DINOSAUR = '535353'; to var COLOR_DINOSAUR = '545454'; but dino color really is '535353', so I don't know why

  2. line 142 on GameManipulator.js from GameManipulator.offset[1] + GameManipulator.gameOverOffset[1] to GameManipulator.offset[1] + GameManipulator.gameOverOffset[1] - 10 cause the 'game over' reader was reading a little under the word 'game' and not founding it.

I'm using Chrome on Ubuntu 18.04