lib/app/entities/game.rb in codebreaker_ruban-0.3.7 vs lib/app/entities/game.rb in codebreaker_ruban-0.3.8
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module CodebreakerRuban
class Game
include Validation
- attr_reader :difficulty, :attempts_total, :hints_total, :user, :hints_showeded, :secret_code, :datetime
+ attr_reader :difficulty, :attempts_total, :hints_total, :user, :hints_showed, :secret_code, :datetime
attr_accessor :attempts_used, :hints_used, :errors, :guess_code
LENGTH_GUESS = 4
RANGE_SECRET_CODE = (1..6).freeze
DIFFICULTY = {