Reorganized game.rb