Module: MasterMind::Tobi

Defined in:
lib/mastermind_start.rb,
lib/mastermind/tobi/ui.rb,
lib/mastermind/tobi/logic.rb,
lib/mastermind/tobi/player.rb,
lib/mastermind/tobi/gameplay.rb,
lib/mastermind/tobi/gamehelper.rb,
lib/mastermind/tobi/multi_game.rb,
lib/mastermind/tobi/timehelper.rb,
lib/mastermind/tobi/gamemethods.rb,
lib/mastermind/tobi/single_game.rb

Defined Under Namespace

Modules: TimeHelper, UI Classes: GameHelper, GameLogic, GameMethods, GamePlay, MultiPlayer, Player, SinglePlayer

Constant Summary collapse

VERSION =
1.0

Class Method Summary collapse

Class Method Details

.startObject



10
11
12
13
14
15
# File 'lib/mastermind_start.rb', line 10

def self.start
  gamehelper = GameHelper.new
  puts UI::WELCOME_MESSAGE
  print UI::OPTIONS_MESSAGE + UI::INPUT_PROMPT
  gamehelper.user_choice
end