My entry to Google's 2010 AI Challenge(Planet Wars) written in Ruby