Sha256: 7c2b01068c140d429dca5e2796dc0f8a3ae4042c95176d4c2ac112a58443f973
Contents?: true
Size: 361 Bytes
Versions: 4
Compression:
Stored size: 361 Bytes
Contents
module Codebreaker module InitDifficulties def init_difficulties difficulty = [] difficulty << Difficulty.new(name: 'Easy', attempts: 15, hints: 2, level: 0) difficulty << Difficulty.new(name: 'Medium', attempts: 10, hints: 1, level: 1) difficulty << Difficulty.new(name: 'Hell', attempts: 5, hints: 1, level: 2) end end end
Version data entries
4 entries across 4 versions & 1 rubygems