Module: Codebreaker::Constants
- Defined in:
- lib/codebreaker/game_const.rb
Constant Summary collapse
- 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