Researchers hack game Snake on Google Maps to add God Mode, automatically play with AI
Recently, Check Point's team tried playing the April Fool's snake game added by Google Maps to Android and iOS, after playing for a long time they had the idea to hack this game to change a bit of 'boring' support, and so some nice features like the God Mode, auto-play with AI have been added, making this 'legendary' game of this childhood interesting. Much tastier.
- Google Maps adds game of Snake hunting for April Fool's Day, invites you to try it out
Seriously, the experts originally decided to play this game for entertainment amid stressful hours at Check Point. But this plan was counterproductive when some experts were too involved in the game, they were uncomfortable when they could not reach new records in this simple game of the Months. Very quickly, the decision was made by the most "spicy" people, it was hacked into the game to reverse the gameplay by using browser-based remote debugging (browser-based remote debugging).
After "breaking into" the game's internal structure, the Check Point team made some modifications and added a simple AI model that could automatically play games, and importantly rather than changing the code to be able to play completely without losing.
- Top Android apps are free and discounted (April 4, 2019)
To begin this reverse engineering process, the researchers downloaded the Google Maps April Fool snake game into the Genymotion Android emulator, allowing the game to be rendered in WebView and leading them to the Snake domain. .googlemaps.com where the game's web application is hosted.
On the web application page, the researchers found JavaScript that initiated the game's console panel and then removed the conditions that would make the snake in the game die, which makes our snake become Immortal (God Mode in the game).
On the other hand, to ensure time-consuming support and still be able to break new record levels, researchers have added a simple artificial intelligence model to the game. As a result, our snake has become much smarter now, knows how to move, eat points, avoid goals and, importantly, never die. Meanwhile, the researchers' only task will now be to sit around the screen and encourage the snake to reach a new record.
- New hidden games appear on Google, want to play must turn off Wifi, 3G / 4G
Although the process of adding AI to games is just a 'chore' for most developers. But with 'mortals' like me and you, I won't be able to chew. It would be much better if there are detailed descriptions of this process, and you can find them here.
In addition, Check Point researchers have published a video describing the entire process of reverse engineering this game on YouTube, you can consult if you are interested.
You should read it
- Google Maps adds game of Snake hunting for April Fool's Day, invites you to try it out
- Play hidden games on Google Search
- Top 10 best Google games you need to explore
- New hidden games appear on Google, want to play must turn off Wifi, 3G / 4G
- How to play Google's Emoji Scavenger Hunt on your phone
- Play Doodle Olympic Games 2016 Olympic Games on Google Android, iOS
- 10 super cool Halloween games for Android 2017
- Google announced it will bring Google Play Games to Windows
- Play Pac-Man 'lady' version of the game at any place in the world in Google Maps on April this year
- How to install apps and games on Google TV
- Top best Y8 games 2023
- How to play Halloween Spooky Doodle game on Google