Bernie.bas

050 REM bernie.bas by chen
100 PRINT “You are Tom at Miller’s Crossing where”
101 PRINT “you must decide whether or not you will kill Bernie.”
150 REM QUESTION 1
200 PRINT “Did you kill Bernie?”
225 PRINT “(please answer only with yes or no)”
250 INPUT murder$
260 IF murder$= “yes” OR murder$= “no” THEN GOTO 300
270 GOTO 200
290 REM QUESTION 2
300 PRINT “Can you outsmart Casper?”
325 PRINT “(please answer only with yes or no)”
350 INPUT smart$
360 IF smart$=”yes” OR smart$= “no” THEN GOTO 400
370 GOTO 300
400 IF murder$= “yes” AND smart$= “yes” THEN GOTO 500
425 IF murder$= “yes” AND smart$= “no” THEN GOTO 600
450 IF murder$= “no” AND smart$= “yes” THEN GOTO 700
475 IF murder$= “no” AND smart$= “no” THEN GOTO 800
500 PRINT “Casper will end up working for you.”
550 GOTO 1000
600 PRINT “You will end up working for Casper.”
650 GOTO 1000
700 PRINT “You will get Verna.”
750 GOTO 1000
800 PRINT “You will get kill.”
1000 END
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s