Sha256: cdcb70a2f1b9939dff91763fcd4ad123f77eb5107d840de456982b50c4a4c6a3
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true module CodebreakerKirill 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_kirill-2.0.0 | lib/codebreaker_kirill/settings.rb |
codebreaker_kirill-1.3.7 | lib/codebreaker_kirill/settings.rb |
codebreaker_kirill-1.3.6 | lib/codebreaker_kirill/settings.rb |