What Hurdles 2012 is
Hurdles 2012 was the Google Doodle for August 7, 2012, in the second week of the London Olympic Games. For eleven days Google had marked the Games with drawings of different sports. On the twelfth day the drawing came with a play button.
The game is a single sprint over ten hurdles. A runner in a red kit waits on the blocks in front of the Google logo, and the only thing that matters is the clock.
It was the first of four small sports games that Google published on four days in a row. The others are Basketball, Slalom Canoe and Soccer.
How to play
- Press the play button, then tap the left and right arrow keys one after the other. The faster and more evenly you alternate, the faster the runner goes.
- Press the space bar to jump. Reviewers at the time noticed that the right moment changes with your speed: the faster you run, the earlier you have to take off.
- Hitting a hurdle does not end the race. The barrier falls, the runner loses pace and carries on.
- At the finish the game shows your time and gives you one to three stars.
Who made it
Google's pages for the four London games carry no credits, so there is no full list of the team. A few names are known from what the people involved said and wrote themselves.
| Person | What they did |
|---|---|
| Sophie Diao | Animated the hurdler's jump. She was a student on a three-month summer internship with the Doodle team, and also animated the paddling in Slalom Canoe |
| Marcin Wichary | Added gamepad support and wrote Google's technical article about it |
| Ryan Germick | Led the Doodle team and spoke to the press on launch day |
Diao later told the Emirates magazine Open Skies how strange it was to see something she had only just drawn appear on Google's homepage. She had found her way to the team a few months earlier, after seeing Google's doodle for Charles Dickens and writing to doodle artist Mike Dutton for advice on her portfolio. After graduating from the California Institute of the Arts in 2013 she came back to Google as a full-time doodler.
How it was made
It works with a gamepad
The day before the doodle went live, Marcin Wichary published an article called Jumping the hurdles with the Gamepad API. Chrome had only just learned to talk to game controllers, and the hurdles doodle was Google's way of showing it off.
The trick was simple. Instead of teaching the game about controllers, the team made the controller pretend to be a keyboard: a small piece of code read the buttons and sticks many times a second and turned them into ordinary left, right and space key presses. You could run by alternating two face buttons, the shoulder buttons, the directional pad, or by wiggling a stick from side to side.
Wichary wrote that the team tested it with assorted USB pads, a PlayStation 2 controller plugged into a Mac through an adapter, and Bluetooth controllers paired with a Chrome OS laptop.
Easy to grasp in a second
Speaking to ABC News on launch day, Ryan Germick described the two hard parts of a homepage game: people have to understand it at once, and it has to work for millions of players at the same moment.
The real hurdles that day
The date was well chosen. On August 7, 2012, Australia's Sally Pearson won the women's 100 metres hurdles final in London in 12.35 seconds, an Olympic record at the time.
The same day, in the heats of the men's 110 metres hurdles, China's Liu Xiang, an Olympic champion in the event, hit the first hurdle and fell with an Achilles injury. He hopped down the track and kissed the last hurdle before leaving.
In the doodle, a fallen hurdle costs a fraction of a second.
Fun facts and small secrets
-
A 22-line script ran it in 1.5 seconds
Within days programmers were letting code press the keys for them. Smithsonian Magazine reported on a Python script of about 22 lines that finished the race, jumps included, in roughly 1.5 seconds.
-
Fast enough, and you do not need to jump
Programmer Phil Norton repeated the experiment on Linux and found that when the arrow keys alternate fast enough, the runner finishes in about one second with three stars without a single jump.
-
The runner takes three strides between hurdles
A former hurdler who looked at the game for the Los Angeles Times pointed out that the runner takes three strides between barriers, the same rhythm sprint hurdlers use.
-
It reminded people of Track & Field
The Guardian's games blog compared the frantic key-tapping to the arcade sports games of the early 1980s, such as Track & Field. Google itself has not named an inspiration.
-
The hurdler had appeared before
PCWorld noticed that the runner had already been seen in Google's doodle for the Opening Ceremony on July 27, 2012.
-
The play button stands in for an O
On the start screen the Google logo stands along the track like a row of boards, and the red play button takes the place of the second letter O.
-
Not the first playable doodle
That was Pac-Man in 2010. Hurdles was the first of the Olympic ones.
The four London 2012 games
| Day | Game | The idea |
|---|---|---|
| August 7 | Hurdles 2012 | How fast can you press two keys? |
| August 8 | Basketball | How well can you judge one press? |
| August 9 | Slalom Canoe | Can you steer and hurry at the same time? |
| August 10 | Soccer | How long can you last? |
All four were built the same way, in HTML5 and JavaScript, with the animation stored as sheets of ready-drawn frames. All four are played from the keyboard; Slalom Canoe and Soccer also answer to the mouse.
According to PCWorld, Ryan Germick has said the four games were played more than a billion times between them in their four days on the homepage.
Sources (13)
- Google Doodles — Hurdles 2012
- web.dev — Jumping the hurdles with the Gamepad API (Marcin Wichary)
- Google Doodles — Opening Ceremony 2012
- Open Skies, September 2018 — interview with Sophie Diao
- ABC News — Google Doodle: Olympic Hurdles
- The Guardian — Google Doodle hurdle game
- PCWorld — Google Doodles let users jump hurdles, shoot hoops
- Los Angeles Times — London 2012 Google Doodle: hurdles
- Smithsonian Magazine — Olympic hurdling record broken in 1.5 seconds on Google Doodle
- #! code — Using Python to beat the 2012 Olympic Google Doodles
- World Athletics — London 2012 report: women's 100m hurdles final
- World Athletics — London 2012 report: men's 110m hurdles heats
- PCWorld — The best Google Doodle games
























Comments
No comments yet — be the first!