Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ask_need_instructions
- answer = gets.chomp.downcase
- while answer != "yes" or "no"
- puts "Incorrect command. Please try again."
- answer = gets.chomp.downcase
- if answer == 'yes'
- puts instructions
- break
- elsif answer == 'no'
- start_game
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement