Sha256: c7aa7eb0428c9f551e4973906dbd5f32c2e3c5377af25a62d97e0fba0e2b38b1
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require_relative 'autoload' module 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_RESPONSE = '+' NEGATIVE_RESPONSE = '-' NAME_MIN_LENGTH = 3 NAME_MAX_LENGTH = 20 GUESS_LENGTH = 4 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_kirill-1.2.4 | lib/codebreaker_kirill/settings.rb |
codebreaker_kirill-1.2.3 | lib/codebreaker_kirill/settings.rb |