lib/alex_codebreaker/session.rb in alex_codebreaker-0.1.5 vs lib/alex_codebreaker/session.rb in alex_codebreaker-0.1.6
- old
+ new
@@ -1,11 +1,10 @@
class Session
INITIAL_ATTEMPTS_USED = 0
INITIAL_HINTS_USED = 0
- attr_reader :difficulty_name, :difficulty_level, :attempts_total, :hints_total
-
- attr_accessor :player_name, :attempts_used, :hints_used
+ attr_accessor :player_name, :attempts_used, :hints_used, :hints_total,
+ :difficulty_name, :attempts_total, :difficulty_level
def initialize
@attempts_used = INITIAL_ATTEMPTS_USED
@hints_used = INITIAL_HINTS_USED
end