Module: CodebreakerConstants

Included in:
CodebreakerKarolina::DBYaml, CodebreakerKarolina::Game, Difficulty
Defined in:
lib/constants.rb

Constant Summary collapse

PLUS =
'+'.freeze
MINUS =
'-'.freeze
FILE_NAME =
'score.yaml'.freeze
NUM_RANGE =
(1..6).freeze
CODE_SIZE =
4
DIFFICULTY =
{
  easy: { attempts: 15, hints: 2 },
  medium: { attempts: 10, hints: 1 },
  hell: { attempts: 5, hints: 1 }
}.freeze
DIFFICULTY_SORT =
{ easy: 1, medium: 2, hell: 3 }.freeze