Top Level Namespace

Defined Under Namespace

Modules: CodebreakerParatskiy, DbUtils, LoadGame, Output, Validating Classes: Console, CurrentGame, Error, Game, Matching, Statistic

Constant Summary collapse

DB =
'stats.yml'.freeze
DIFFICULTIES =
{
  easy: { attempts: 15, hints: 2 },
  medium: { attempts: 10, hints: 1 },
  hell: { attempts: 5, hints: 1 }
}.freeze
DEFAULT_NAME =
'default'.freeze
{
  'start' => :start,
  'rules' => :show_rules,
  'stats' => :show_stats,
  'exit' => :exit
}.freeze
WINNING_RESULT =
'++++'.freeze
START_COMMAND =
'start'.freeze
CONFIRM_COMMAND =
'yes'.freeze
EXIT_COMMAND =
'exit'.freeze