Sha256: 6223d4fc4b4103f7b03e06c149bfa58abcfde330fd1dbcd712fef7fdc050953d

Contents?: true

Size: 352 Bytes

Versions: 10

Compression:

Stored size: 352 Bytes

Contents

module CodebreakerConstants
  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
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
codebreaker_karolina-0.1.9 lib/constants.rb
codebreaker_karolina-0.1.8 lib/constants.rb
codebreaker_karolina-0.1.7 lib/constants.rb
codebreaker_karolina-0.1.6 lib/constants.rb
codebreaker_karolina-0.1.5 lib/constants.rb
codebreaker_karolina-0.1.4 lib/constants.rb
codebreaker_karolina-0.1.3 lib/constants.rb
codebreaker_karolina-0.1.2 lib/constants.rb
codebreaker_karolina-0.1.1 lib/constants.rb
codebreaker_karolina-0.1.0 lib/constants.rb