copied game.rb from master
working