Sha256: fa2ec9df94be8f9fc8a88de92e295a2bd1525267450328f5109d0bdfbb838e77

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

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

MAIN_MENU_COMMANDS = {
  '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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codebreaker_paratskiy-0.2.4 lib/config/constants.rb
codebreaker_paratskiy-0.2.3 lib/config/constants.rb