Skip to content

Instantly share code, notes, and snippets.

View Ebeta's full-sized avatar

Eric Betancourt Ebeta

  • wyncode
  • Miami, FL
View GitHub Profile
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
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 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?"