Automating Google Soccer
by Željko Filipin
Another game from Google: Soccer. I am a day late with it, but I had a problem. The game was reacting to space
, but not to left
and right
. Justin Ko suggested I should try with moving the mouse left and right, and it worked!
The code is pretty trivial, as usual, and at github.com/zeljkofilipin/olympics. For now the the goalie just randomly moves left, right and jumps. The best score (4 points) I got when I changed the script so the goalie does not move at all.
tags: code - ruby - video - youtube