Sha256: 1ef4e39178ade2fd44caea60b739e4b2a47fd1d0dd31380e462b3054158e1ba0

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

DB = 'stats.yml'.freeze

DIFFICULTIES = {
  easy: { attempts: 15, hints: 2 },
  medium: { attempts: 10, hints: 1 },
  hell: { attempts: 5, hints: 1 }
}.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.1.6 lib/config/constants.rb
codebreaker_paratskiy-0.1.5 lib/config/constants.rb