Sha256: dad0bdb5607590ac78ed487f534765fb4bde76dab6d87a722ecad6693f3840c4
Contents?: true
Size: 304 Bytes
Versions: 9
Compression:
Stored size: 304 Bytes
Contents
module Codebreaker module Constants DIFFICULTIES = { easy: { attempts: 15, hints: 2 }, middle: { attempts: 10, hints: 1 }, hard: { attempts: 5, hints: 1 } }.freeze NAME_LENGTH = (3..20) START_GAME = :start IN_GAME = :game WIN = :win LOSE = :lose end end
Version data entries
9 entries across 9 versions & 1 rubygems