lib/codebreaker/game.rb in codebreaker_z-1.1.0 vs lib/codebreaker/game.rb in codebreaker_z-1.2.0

- old
+ new

@@ -1,9 +1,11 @@ module Codebreaker class Game ATTEMPTS_COUNT = 10 HINTS_COUNT = 3 + attr_reader :attempt, :hint, :is_winner + def initialize @secret_code = generate_code @attempt = 0 @hint = 0 @is_winner = false