Sha256: a3deb89c24fe6b937a0b6d649615e730d5e8bad95573a6551399b9762657b3a5
Contents?: true
Size: 543 Bytes
Versions: 5
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module AndriiCodebreaker module Constant LALA = 2 NAME_MIN_LENGTH = 3 NAME_MAX_LENGTH = 20 CODE_START_LENGTH = 1 CODE_LENGTH = 6 CODE_LENGTH_COUNT = 4 RANGE_SECRET_CODE = (CODE_START_LENGTH..CODE_LENGTH).freeze DIFFICULTY = { easy: { attempts: 15, hints: 2 }, medium: { attempts: 10, hints: 1 }, hell: { attempts: 5, hints: 1 } }.freeze DIFFICULTY_SORT = { easy: 1, medium: 2, hell: 3 }.freeze WIN = '++++' MINUS = '-' PLUS = '+' end end
Version data entries
5 entries across 5 versions & 1 rubygems