View difference between Paste ID: 1zkTPWpQ and ELXtWxEm
SHOW: | | - or go back to the newest paste.
1
# To change this template, choose Tools | Templates
2
# and open the template in the editor.
3
4
class RoboEngine
5
6
  def initialize
7
    sd = 0.5
8
    puts "Initializing..."
9-
    Start.Sup
9+
10
    puts "Initialized!"
11
    sleep(sd)
12
    
13
  end
14
15
end
16-
  def Sup
16+
17
class self.Startup
18
  
19
  def sup
20
    sd = 1.0
21
    puts "Booting Steve..."
22
    sleep(sd)
23
    puts "Steve has been booted!"
24
    sleep(sd)
25
    thoughtp.testforaccess
26
  end
27
  
28
end
29
30
class self.ThoughtProcessor
31
32
  def testforaccess
33
    puts "Throught Processor has been loaded!"
34
    primee.Steveloaded
35
  end
36
37
end
38
39
class self.PrimeEncounter
40
  def Steveloaded
41
    delay1 = 2.1
42
    puts "Steve has been successfully booted!"
43
    sleep(delay1)
44
    puts "Hello there, I am Steve!"
45
    sleep(delay1)
46
    puts "Would you mind telling me your name?"
47
    $user = gets
48
    sleep(delay1)
49
    puts "Ah, so your name is" + $user + " ?"
50
    $achoice1 = gets
51
    nameanswer
52
  end
53
    def nameanswer
54-
      end
54+
55
        puts "Very well then!"
56
        sleep(delay1)
57
    else $achoice1 = "no"
58
       puts "Oh? Well could you please tell me your actual name?"
59
       sleep(delay1)
60
       $user = gets
61
     end
62
    end
63
end
64
class uname
65
   def name
66
   names = Hash.new
67
   names[user] = 1
68
   end
69
end
70
71
primee = PrimeEncounter.new
72
RoboEngine.new
73
start = Startup.new
74
thougtp = ThoughtProcessor.new