lib/codeguessing/game.rb in codeguessing-0.4.5 vs lib/codeguessing/game.rb in codeguessing-0.4.6

- old
+ new

@@ -47,9 +47,11 @@ end def cur_score(name = 'Anonim') hash = cur_game hash[:name] = name + hash[:attempts] = MAX_SIZE - attempts + hash[:hint_count] = MAX_HINT - hint_count hash[:date] = Time.now.to_i hash end def valid?(code)