Sha256: 207d683fc3f9087ee9f3b63014ee1d600cfab35b491aa12aff90092dbe48150f
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module Constants LEVELS = { easy: { attempts: 15, hints: 2 }, medium: { attempts: 10, hints: 1 }, 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_bo-0.1.7 | lib/codebreaker/constant.rb |
codebreaker_bo-0.1.6 | lib/codebreaker/constant.rb |