lib/app/entities/game.rb in codebreaker_ruban-0.3.4 vs lib/app/entities/game.rb in codebreaker_ruban-0.3.5
- old
+ new
@@ -14,9 +14,10 @@
hell: { hints_total: 1, attempts_total: 5, difficulty: 'hell' }
}
def initialize(difficulty, user)
@user = user
+ binding.pry
@difficulty = difficulty[:difficulty]
@secret_code = generator_secret_code
@attempts_total = difficulty[:attempts_total]
@hints_total = difficulty[:hints_total]
@hint = secret_code.clone.shuffle