T-REX: Playing with Dino!

dino
dino

I hardly play the dino game which is created by Google and is available in Chrome browser for playing while there is no Internet connection. But the game itself is popular and can be found in different platforms. Recently I’ve changed two of them and now cacti and birds are ineffective.

Simple JavaScript Running T-Rex Version

There are lots of free versions of the game. Take Running T-Rex for example. The java script code is pretty formatted and ready to be deactivated!

Dino 1
Dino 1

Medium Android Running T-Rex Version

I’ve faced with an Android version of the game. So started to find where the game finishes. Based on JADX decompiler, the following code was the main part of detecting game over.

Dino 2
Dino 2

Based on Smali Code Injection techniques, I’ve deactivated the functions. Now the Dino can run freely both in JavaScript and Android!

Dino JavaScript (Click to see the animated GIF version):

Dino JavaScript
Dino JavaScript

Dino Android (Click to see the animated GIF version):

Dino Android
Dino Android

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *