Sha256: d212cc7457b8375ea5c5fa90b8ade24095d0308f88144a08d42a3fa867d3a80e

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

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

  MEDIUM = { attempts: 10,
             hints: 1 }.freeze
  HELL = { attempts: 5,
           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
  PATH = './data/statistic.yml'
end

Version data entries

1 entries across 1 versions & 1 rubygems

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