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
- 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
May be interested
- Microsoft is redesigning Windows 10 Update, improving the user experienceif you do not know, the update windows 10 may 2019 update will be available in release preview ring of windows insider program starting next week.
- Gamers be cautious with Windows 10 April 2019 Update (and now Windows 10 May 2019)!new windows updates are often expected to make your pc more stable and improve performance and improve the overall user experience, but everything is not always happening. out as expected.
- Two college students allegedly cheated nearly $ 1 million of Appletwo chinese students currently studying engineering at a number of universities in oregon, usa, have recently been accused of behind a fraudulent deal worth nearly $ 1 million. via apple's iphone replacement campaign
- Tomorrow, global GPS will end its operation cycle, 'Y2K incident' can happen againat the end of this week, the global gps system will end its operation cycle. this event made many people remember the y2k error that happened in 2000.
- Google and many other large technology companies are quietly deploying projects that can change the internet worldgoogle has pocketed billions of dollars in revenue from cloud-based services, and now, they are using this money to invest in a great project, which can have a profound effect on the entire internet world - that is the underground cable 'backbone', connecting the two continents of the american continent.
- Viettel installed the first 5G broadcasting station in Vietnamon april 5, 2019, viettel installed the first 5g station in vietnam on the roof of viettel center in hoan kiem district to prepare for the 5g network test.