refactored game.rb