Few days ago I download game called “Paper Toss” to my android (HTC desire), I have a tendency for addictions and this game started to be one.
It’s very simple all you have to do is throw the paper ball to the basket. You have to take into consideration the wind strength and direction.
The problem started when my wife started to play the game. I’m very competitive and soon enough she will take the lead.
My advantage in this case is that I’m a geek. I’m using SeeTest from Experitest to test automation of Flex applications, but it do the job for Android games as well.
After ~30 minutes and few lines of code I wrote a robot that play the game for me with 0 errors.
This is how the code looks like:
This is how the project repository look like:
I played it until it score 62 (so it will not look to suspicious). Now she torture herself trying to beat me.
Maybe tomorrow I will let her know (and maybe I won’t…).
The blog above is such a simple yet powerful approach. Surely everyone would impress on it.
ReplyDeleteperformance testing
Guy, I need a script for iPhone. I have the same problem with my 10 year old daughter. 62 won't be enough though...
ReplyDeleteVery interesting post! Thanks for sharing your experience suggestions. Automation Testing Service
ReplyDeleteyea
ReplyDelete