Sha256: 7b14965d1f40435c766ba11fc47d2d885184bf2350c556da5d403f39c7721769
Contents?: true
Size: 380 Bytes
Versions: 2
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: 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_bo-0.1.3 | lib/codebreaker/constant.rb |
codebreaker_bo-0.1.1 | lib/constant.rb |