Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To change this template, choose Tools | Templates
- # and open the template in the editor.
- class RoboEngine
- def initialize
- sd = 0.5
- puts "Initializing..."
- sleep(sd)
- puts "Initialized!"
- sleep(sd)
- end
- end
- class self.Startup
- def sup
- sd = 1.0
- puts "Booting Steve..."
- sleep(sd)
- puts "Steve has been booted!"
- sleep(sd)
- thoughtp.testforaccess
- end
- end
- class self.ThoughtProcessor
- def testforaccess
- puts "Throught Processor has been loaded!"
- primee.Steveloaded
- end
- end
- class self.PrimeEncounter
- def Steveloaded
- delay1 = 2.1
- puts "Steve has been successfully booted!"
- sleep(delay1)
- puts "Hello there, I am Steve!"
- sleep(delay1)
- puts "Would you mind telling me your name?"
- $user = gets
- sleep(delay1)
- puts "Ah, so your name is" + $user + " ?"
- $achoice1 = gets
- nameanswer
- end
- def nameanswer
- if $achoice1 = "yes"
- puts "Very well then!"
- sleep(delay1)
- else $achoice1 = "no"
- puts "Oh? Well could you please tell me your actual name?"
- sleep(delay1)
- $user = gets
- end
- end
- end
- class uname
- def name
- names = Hash.new
- names[user] = 1
- end
- end
- primee = PrimeEncounter.new
- RoboEngine.new
- start = Startup.new
- thougtp = ThoughtProcessor.new
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement