./lib/player_option.rb in burger_game-0.1.1 vs ./lib/player_option.rb in burger_game-1.0.0

- old
+ new

@@ -7,11 +7,11 @@ def initialize # Create instance of TTY Prompt @prompt = TTY::Prompt.new end - def get_launch_game + def launch_game player_response = @prompt.select("Do you want to launch the game?") do |menu| menu.choice "Launch Game" menu.choice "Exit" end @@ -20,11 +20,11 @@ else false end end - def get_start_game + def start_game player_response = @prompt.select("What would you like to do?") do |menu| menu.choice "View 'How to Play'" menu.choice "Start Game" end @@ -33,10 +33,10 @@ else false end end - def get_options + def get_selection # Get ingredient names (array of strings) ingredient_names = [] Recipe.ingredient_lists[0].each do |list| ingredient_names << list.keys.join end \ No newline at end of file