Sha256: 4b2e432cd4479a4513ae49dfab8c8ddb824174dd08c42cd3a68456fed3b5103e

Contents?: true

Size: 310 Bytes

Versions: 12

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

module CodebreakerDiz
  CODE_LENGTH = 4

  EXACT_MATCH_SIGN = '+'
  NUMBER_MATCH_SIGN = '-'

  MIN_CODE_NUMBER = 1
  MAX_CODE_NUMBER = 6

  DIFFICULTIES = {
    kid: { tries: 15, hints: 2 },
    average: { tries: 10, hints: 1 },
    hacker: { tries: 5, hints: 1 }
  }.freeze
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
codebreaker_diz-0.3.pre.3 lib/codebreaker_diz/config.rb
codebreaker_diz-0.3.pre.2 lib/codebreaker_diz/config.rb
codebreaker_diz-0.3.pre.1 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.9 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.7 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.6 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.5 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.4 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.3 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.2 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2.1 lib/codebreaker_diz/config.rb
codebreaker_diz-0.2 lib/codebreaker_diz/config.rb