# frozen_string_literal: true require 'yaml' require 'ep-codebreaker/version' require 'ep-codebreaker/player' require 'ep-codebreaker/game' module Codebreaker MIN = 1 MAX = 6 LENGTH = 4 REGEXP = Regexp.new("^[#{MIN}-#{MAX}]{#{LENGTH}}$") TRIES = 10 private_constant :MIN, :MAX, :LENGTH, :REGEXP, :TRIES end