Ripping off of a tutorial of Rubygame off of the interwebs