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