Sha256: 40065adaa0f9da6bced7e2c7e6a7dbcafb309bca029612893b955263b5e3a783

Contents?: true

Size: 480 Bytes

Versions: 6

Compression:

Stored size: 480 Bytes

Contents

DB = 'stats.yml'.freeze

DIFFICULTIES = {
  easy: { attempts: 15, hints: 2 },
  medium: { attempts: 10, hints: 1 },
  hell: { attempts: 5, hints: 1 },
  default: { attempts: 0, hints: 0 }
}.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

6 entries across 6 versions & 1 rubygems

Version Path
codebreaker_paratskiy-0.2.2 lib/config/constants.rb
codebreaker_paratskiy-0.2.1 lib/config/constants.rb
codebreaker_paratskiy-0.2.0 lib/config/constants.rb
codebreaker_paratskiy-0.1.9 lib/config/constants.rb
codebreaker_paratskiy-0.1.8 lib/config/constants.rb
codebreaker_paratskiy-0.1.7 lib/config/constants.rb