This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "welcome to Arkham asylum Santa!!" | |
puts "what would you like to do" | |
puts "Options: explore, fight , leave , surprise" | |
choice = gets.chomp | |
case choice | |
when "explore" | |
puts " you found a new evidence of a plan to brake out " | |
puts " do you want to investegate the plan more " | |
puts "options: yes , no " | |
plan = gets.chomp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "welcom to Arkham asylum Santa!!" | |
puts "what would you like to do" | |
puts "Options: explore, fight , leave , surprise" | |
choice = gets.chomp | |
case choice | |
when "explore" | |
puts " you found a new evadence of a plan to brake out " | |
puts " do you want to investigate the plan more " | |
puts "options: yes , no " | |
plan = gets.chomp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this question is from the first section and is the seco | |
puts "Let’s start with an easy one. Write the expression 1+1 in two different, but equivalent ways." | |
puts "Answer :" | |
puts "1.+(1)" #this answer is in standard ruby syntax | |
# Ruby Data Types: BigNum | |
puts "When a Fixnum grows too large, it becomes a Bignum. What's the largest Fixnum?" |
NewerOlder