lib/app/entities/game.rb in codebreaker_ruban-0.3.0 vs lib/app/entities/game.rb in codebreaker_ruban-0.3.1
- old
+ new
@@ -19,10 +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
+ @datetime = Time.now
@errors = []
end
def validate_guess_input(input)
clear_errors