refactor game.rb guess method