Sha256: f91505906e5ed193d069a728ce5109f1cae559e6b1db3bb8a4da12ec939178e8

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

module Constants
  EASY = { attempts: 15,
           hints: 2 }.freeze

  MEDIUM = { attempts: 10,
             hints: 1 }.freeze
  HELL = { attempts: 1,
           hints: 1 }.freeze
  PLUS = '+'
  MINUS = '-'
  WIN_NUMBER = 4
  DESIRED_NUMBER = /^[1-6]{4}$/.freeze
  LENGTH_RANGE = (3..20).freeze
  RANGE = (1..6).freeze
  NUMBER_OF_DIGITS = 4
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codebreaker_bo-0.1.4 lib/codebreaker/constant.rb