CLS PRINT "SPOOKY HOUSE 2 BY: RICHARD GRUBE" 1 : PRINT "Welcome to Spooky House 2. The object of the game is to collect 2 treasures and get to the exit without getting killed. " PRINT "To play, press a number choice the game asks for and press enter." 2 : INPUT "You enter the spooky house. Would you like to stay on the floor you're on (1) or go downstairs? (2)", a% 3 : IF a% = 1 THEN GOTO 5 4 : IF a% = 2 THEN GOTO 6 IF a% < 1 THEN GOTO 1 IF a% > 2 THEN GOTO 1 5 : INPUT "You enter the hallway. Would you like to go to the next room (1) or the kitchen (2)?", b% IF b% = 1 THEN GOTO 8 IF b% = 2 THEN GOTO 7 IF b% < 1 THEN GOTO 5 IF b% > 2 THEN GOTO 5 6 : INPUT "You enter the basement and see 2 doors. Go to door 1 (1) or 2 (2)?", c% IF c% = 1 THEN GOTO 41 IF c% = 2 THEN GOTO 42 IF c% < 1 THEN GOTO 6 IF c% > 2 THEN GOTO 6 7 : INPUT "You enter the kitchen. Next room (1) or back to the Hall (2)?", d% IF d% = 1 THEN GOTO 43 IF d% = 2 THEN GOTO 5 IF d% < 1 THEN GOTO 7 IF d% > 2 THEN GOTO 7 8 : INPUT "You enter the study. Would you like to sit down (1) or enter the dining room(2)?", e% IF e% = 1 THEN GOTO 9 IF e% = 2 THEN GOTO 10 IF e% > 2 THEN GOTO 8 IF e% < 1 THEN GOTO 8 9 : PRINT "The chair is booby-trapped! You are dead." END 10 : INPUT "You enter the dining room. Will you go to the living room (1) or the bedroom (2)?", f% IF f% = 1 THEN GOTO 11 IF f% = 2 THEN GOTO 12 IF f% < 1 THEN GOTO 10 IF f% > 2 THEN GOTO 10 11 : PRINT "You see lots of ghosts. You are dead." END 12 : INPUT "You enter the bedroom. Will you leave (1) or into the bathroom (2)?", g% IF g% = 2 THEN GOTO 11 IF g% = 1 AND z% = 1 AND y% = 1 THEN GOTO 13 IF g% = 1 AND z% = 0 OR y% = 0 THEN GOTO 44 IF g% > 2 THEN GOTO 12 IF g% < 1 THEN GOTO 12 13 : PRINT "You win!!!" END 41 : PRINT "You see a mummy. You are dead." END 42 : INPUT "You found a treasure! Hit 1 to save the treasure.", z% IF z% > 1 THEN GOTO 42 IF z% < 1 THEN GOTO 42 45 : INPUT "Hit 2 to go back to the beginning or 1 to go to the next room.", t% IF t% = 2 THEN GOTO 1 IF t% = 1 THEN GOTO 41 IF t% > 2 THEN GOTO 45 IF t% < 1 THEN GOTO 45 43 : INPUT "You found a treasure! Hit 1 to save the treasure.", y% IF y% < 1 THEN GOTO 43 IF y% > 1 THEN GOTO 43 46 : INPUT "Now hit 1 to go back to the kitchen or 2 to go to the next room.", v% IF v% = 1 THEN GOTO 7 IF v% = 2 THEN GOTO 41 IF v% > 2 THEN GOTO 46 IF v% < 1 THEN GOTO 46 44 : INPUT "Sorry, you don't have enough treasures. Hit 1 to start again.", x% IF x% = 1 THEN GOTO 1 IF x% > 1 THEN GOTO 44 IF x% < 1 THEN GOTO 44