lib/codebreaker_vk/game.rb in codebreaker_vk-1.0.2 vs lib/codebreaker_vk/game.rb in codebreaker_vk-1.0.3
- old
+ new
@@ -7,12 +7,12 @@
RANGE_START = 1
RANGE_END = 6
NOT_YET = '-'
GOT_IT = '+'
DIFFICULTY_LEVEL = {
- easy: { attempts: 15, hints: 3 },
- medium: { attempts: 10, hints: 2 },
- hell: { attempts: 5, hints: 1 }
+ easy: { attempts: 15, hints: 3 },
+ medium: { attempts: 10, hints: 2 },
+ hell: { attempts: 5, hints: 1 }
}.freeze
attr_accessor :attempts_total, :attempts, :difficulty, :hints_total, :hints, :name, :secret
def initialize(name:, difficulty:)