This is a game written as homework for the Ruby Studio, Online Edition, from Pragmatic Programmers.