Sha256: 6c219e8a7fc9c04f5879dbe4da2620f85da05b34f0cc75a39aa32acab5e5a330

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

module AlexCodebreaker
  module Modules
    module Settings
      MATCHING = { place: '+', presence: '-' }.freeze
      CODE_LENGTH = 4
      WIN_COMPARISON = MATCHING[:place] * CODE_LENGTH
      CODE_MIN_DIGIT = 1
      CODE_MAX_DIGIT = 6
      MIN_PLAYER_NAME_LENGTH = 3
      MAX_PLAYER_NAME_LENGTH = 20
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alex_codebreaker-0.2.3 lib/alex_codebreaker/modules/settings.rb
alex_codebreaker-0.2.2 lib/alex_codebreaker/modules/settings.rb
alex_codebreaker-0.2.1 lib/alex_codebreaker/modules/settings.rb
alex_codebreaker-0.2.0 lib/alex_codebreaker/modules/settings.rb