Sha256: 44f44137faac51c47b7655ff26642f4e081a784c97ffe481ce40167ceae003c5

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

class Settings
  DIFFICULTY = {
    'easy' => { attempts: 15, hints: 2 },
    'medium' => { attempts: 10, hints: 1 },
    'hell' => { attempts: 5, hints: 1 }
  }.freeze
  CODE_LENGTH = 4
  RANDOM_RANGE = (1..6).freeze
  POSITIVE = '+'
  NEGATIVE = '-'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codebreaker_kirill-1.1.1 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-1.1.0 lib/codebreaker_kirill/settings.rb