lib/app/entities/game.rb in codebreaker_ruban-0.2.0 vs lib/app/entities/game.rb in codebreaker_ruban-0.3.0
- old
+ new
@@ -19,9 +19,10 @@
@attempts_total = difficulty[:attempts_total]
@hints_total = difficulty[:hints_total]
@hint = secret_code.clone.shuffle
@hints_used = 0
@attempts_used = 0
+ @datetime = nil
@errors = []
end
def validate_guess_input(input)
clear_errors