lib/codebreaker/game.rb in sarcasm-codebreaker-0.2.6 vs lib/codebreaker/game.rb in sarcasm-codebreaker-0.2.7

- old
+ new

@@ -55,10 +55,10 @@ @state == :lost end alias_method :lost?, :lose? def win - @score = (10 - @attempts) * @symbols_count * @symbols_range + @hints_left*20 + @score = @attempts * @symbols_count * @symbols_range + @hints_left*20 @state = :won end def lose @score = 0