Sha256: b9d6e45404d5e381e8bc072f780b86d30dcd6319caa61b1c7e6f72240e01ecdc
Contents?: true
Size: 456 Bytes
Versions: 6
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true require_relative 'autoload' 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
6 entries across 6 versions & 1 rubygems