Sha256: fce0b2122987d4be50ab6099c81987f45256e88637eb7fa3f08dad480810c9b0

Contents?: true

Size: 253 Bytes

Versions: 9

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

class 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
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
codebreaker_kirill-1.0.2 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-1.0.1 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-1.0.0 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.3.3 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.3.2 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.3.1 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.3.0 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.2.20 lib/codebreaker_kirill/settings.rb
codebreaker_kirill-0.2.19 lib/codebreaker_kirill/settings.rb