@@ -4,69 +4,89 @@ public class ChooseYourOwnAdventure
44{
55 public static void main (String [] args )
66 {
7- // startStory (recipe below) --#2
8- // ------------- Recipe for startStory --#2
7+ // startStory (recipe below) --#2.1
8+ //
9+ // ------------- Recipe for startStory --#2.2
910 // Tell the user "One morning the Tortoise woke up in a dream." --#1
10- // animateStartStory (recipe below) --#38
11- // ------------- Recipe for animateStartStory --#38
11+ //
12+ // animateStartStory (recipe below) --#38.1
13+ //
14+ // ------------- Recipe for animateStartStory --#38.2
1215 // Show the Tortoise --#37
1316 // The current pen color is black --#39.2
14- // Do the following 25 times --#41
15- // Turn the background to the current pen color --#39.1
16- // lighten the current pen color --#42
17- // wait for 100 milliseconds --#40
18- // Repeat --#41
17+ // Do the following 25 times --#41.1
18+ // Turn the background to the current pen color --#39.1
19+ // Lighten the current pen color --#42
20+ // Wait for 100 milliseconds --#40
21+ // Repeat --#41.2
22+ // ------------- End of animateStartStory recipe --#38.3
1923 //
20- // ------------- End of animateStartStory recipe --#38
2124 // Ask the user "Do you want to 'wake up' or 'explore' the dream?" --#3
2225 // If they answer "wake up" --#6
23- // wakeUp (recipe below) --#5
24- // ------------- Recipe for wakeUp --#5
25- // Tell the user "You Wake up and have a boring day. The End." --#4
26- // ------------- End of wakeUp recipe --#5
26+ // wakeUp (recipe below) --#5.1
27+ //
28+ // ------------- Recipe for wakeUp --#5.2
29+ // Tell the user "You Wake up and have a boring day. The End." --#4
30+ // ------------- End of wakeUp recipe --#5.3
2731 // Otherwise, if they answer "explore" --#9
28- // approachOoze (recipe below) --#8
29- // ------------- Recipe for approachOoze --#8
32+ // approachOoze (recipe below) --#8.1
33+ //
34+ // ------------- Recipe for approachOoze --#8.2
3035 // Tell the user "You approach a glowing, green bucket of ooze, worried that you will get in trouble, you pick up the bucket." --#7
3136 // Ask the user "Do you want to pour the ooze into the 'backyard' or 'toilet'?" --#13
3237 // If they answer "toilet" --#16
33- // pourIntoToilet (recipe below) --#15
34- // ------------- Recipe for pourIntoToilet --#15
38+ // pourIntoToilet (recipe below) --#15.1
39+ //
40+ // ------------- Recipe for pourIntoToilet --#15.2
3541 // Tell the user "As you pour the ooze into the toilet it backs up, gurgles and explodes covering you in radio-active waste." --#14
3642 // Ask the user "Do you want to train to be a NINJA? 'Yes' or 'HECK YES'?" --#29
3743 // If they answer "yes" --#32
38- // ninjaTortoise (recipe below) --#31
39- // ------------- Recipe for ninjaTortoise --#31
44+ // ninjaTortoise (recipe below) --#31.1
45+ //
46+ // ------------- Recipe for ninjaTortoise --#31.2
4047 // Tell the user "Awesome Dude! You live out the rest of your life fighting crimes and eating pizza!" --#30
41- // ------------- End of ninjaTortoise recipe --#31
48+ // ------------- End of ninjaTortoise recipe --#31.3
49+ //
4250 // Otherwise, if they answer "heck yes" --#34
4351 // ninjaTortoise (recipe below) --#33
52+ //
4453 // Otherwise, if they answer anything else --#36
4554 // badAnswer (recipe below) --#35
46- // ------------- End of pourIntoToilet recipe --#15
55+ //
56+ // ------------- End of pourIntoToilet recipe --#15.3
57+ //
4758 // Otherwise, if they answer "backyard" --#19
48- // pourIntoBackyard (recipe below) --#18
49- // ------------- Recipe for pourIntoBackyard --#18
59+ // pourIntoBackyard (recipe below) --#18.1
60+ //
61+ // ------------- Recipe for pourIntoBackyard --#18.2
5062 // Tell the user "As you walk into the backyard a net scoops you up and a giant takes you to a boiling pot of water." --#17
5163 // Ask the user "As the man starts to prepare you as soup, do you... 'Scream' or 'Faint'?" --#21
5264 // If they answer "faint" --#24
53- // tortoiseSoup (recipe below) --#23
54- // ------------- Recipe for tortoiseSoup --#23
65+ //
66+ // tortoiseSoup (recipe below) --#23.1
67+ //
68+ // ------------- Recipe for tortoiseSoup --#23.2
5569 // Tell the user "You made a delicious soup! Yum! The End." --#22
56- // ------------- End of tortoiseSoup recipe --#23
70+ // ------------- End of tortoiseSoup recipe --#23.3
71+ //
5772 // Otherwise, if they answer "scream" --#26
58- // startStory (recipe below) --#25
73+ // startStory (recipe below) --#25.1
74+ //
5975 // Otherwise, if they answer anything else --#28
60- // badAnswer (recipe below) --#27
61- // ------------- End of pourIntoBackyard recipe --#18
76+ // badAnswer (recipe below) --#27
77+ //
78+ // ------------- End of pourIntoBackyard recipe --#18.3
6279 // Otherwise, if they answer anything else --#20
63- // badAnswer (recipe below) --#19
64- // ------------- End of approachOoze recipe --#8
80+ // badAnswer (recipe below) --#19
81+ // ------------- End of approachOoze recipe --#8.3
82+ //
6583 // Otherwise, if they answer anything else --#12
66- // badAnswer (recipe below) --#11
67- // ------------- Recipe for badAnswer --#11
84+ // badAnswer (recipe below) --#11.1
85+ //
86+ // ------------- Recipe for badAnswer --#11.2
6887 // Tell the user "You don't know how to read directions. You can't play this game. The End." --#10
69- // ------------- End of badAnswer recipe --#11
70- // ------------- End of startStory recipe --#2
88+ // ------------- End of badAnswer recipe --#11.3
89+ //
90+ // ------------- End of startStory recipe --#2.3
7191 }
7292}
0 commit comments