This year Google has added an interactive snake game inside its Google Maps app for Android and IOS in celebration of April Fools’ Day. We wanted to play the game but got frustrated when we lost, so we thought – why not hack our way into winning!
So, we reversed engineered the app by using remote debugging and successfully achieved the task of never losing and even add some simple AI that will play the game for us.
POC:
Watch the full video on youtube:
[* will be published soon *]
Yaara Shriki
Linkedin - https://www.linkedin.com/in/yaara-shriki/
Roman Zaikin
Linkedin - https://www.linkedin.com/in/romanzaikin/
Twitter - https://twitter.com/R0m4nZ41k1n
-
Start Google Maps in your phone or virtual device
-
Open remote debugging in your browser and connect your device
-
Copy the code in snake_hook.js and paste it in the remote console
-
You can now play the hacked version of snake
-
Enjoy!