Home > Automation > Automating the hurdles Google doodle

Automating the hurdles Google doodle

Today’s Google doodle is an interactive hurdles game in homage to the London 2012 olympics:

Google Olympics Doodle

Inspired by Željko‘s Pacman doodle automation using Watir, I decided to give Sikuli a shot and see if I could automate it.

The following script successfully plays the Hurdles game but doesn’t jump (yet). It finishes the game with two stars in 10.8 seconds (running on my machine, that is).

Google Doodle Sikuli Script

Google Doodle Hurdle Results

It seems like Sikuli takes too long to identify the objects, so if we add any find() or exists() calls in-between steps, the scripts performs really bad and finishes in about 50 seconds instead of just 10.8.

Sorry for not providing the code, sliced screenshots or a better tutorial for Sikuli. It should be pretty straightforward to reproduce it :)

Thanks to Iraê for the quick pairing session before lunch :)

Categories: Automation Tags: ,
  1. August 8th, 2012 at 06:20 | #1

    Video or it did not happen! :)

  2. August 8th, 2012 at 08:47 | #2

    Felipe,

    Cool! I like what you did and think it’s awesome that you created this “learning challenge” for yourself and shared your learnings with the world.

    Two things:

    1) I recently found what I think is a fantastic tool to document step-by-step instructions like the instructions you’ve got in this blog post. It’s called “Clarify” – see clarify-it.com.

    2) Thanks again for your advice in good places to visit in Brazil. Manaus was a great stopping point from which to check out the Amazon rain forest, Rio was fun, and Iguazu Falls (from both the Brazil side and the Argentina side) were absolutely fantastic. I just left there to land in Buenos Aires. There’s a decent chance I’ll make it to Sao Paulo within the next few weeks to meet with a client there. I’ll look you up if I get there.

    Justin

  3. August 8th, 2012 at 11:02 | #3
  4. August 15th, 2012 at 09:28 | #4

    Great tool, it can be useful in several situations… I’m trying it here…

  1. August 8th, 2012 at 11:01 | #1
  2. August 14th, 2012 at 19:59 | #2