hallway-test/hallway-test.bas

59 lines
1.2 KiB
QBasic
Raw Permalink Normal View History

2023-07-11 05:40:25 +00:00
Rem This is a test for a potential game named Savage Actual. We'll see what happens.
Rem by John Paul Wohlscheid
WindowTitle "Hallway test"
2023-07-13 06:02:40 +00:00
Dim as integer room1, room2, room3, room4, room5, ranum
2023-07-11 05:40:25 +00:00
2023-07-13 06:02:40 +00:00
Dim as string funame
ranum = cast(integer, fix(rnd*100)+1) ' generate random number
2023-07-11 05:40:25 +00:00
Input "Before we begin, please enter the name of your character: ", funame
2023-07-13 06:02:40 +00:00
print
If funame = "fuck" then
print "That's real nice. I think I'll call you Larry."
funame = "Larry"
elseif funame = "Bryan" then
print "I'll call you 'the Duke'."
funame = "the Duke"
elseif funame = "Gregg" then
print "Looks like we're going to get some philosophy in the house."
end if
print
print
sleep 5000
startover:
print "Officer "; funame; ","
print "We just received a message from dispatch."
print "Kevin O'Mara have escaped from Cairo Max, where"
print "he was serving a 50 years for homicide."
print "He knocked out a guard and stole his service pistol."
print "O'Mara was seen entering 979 Harvest Plaza."
print "Check it out. Be warned the fugitive is armed and dangerous."
print
2023-07-13 06:02:40 +00:00
sleep 5000
print "The front door
2023-07-13 06:02:40 +00:00
room1:
room2:
room3:
room4:
2023-07-11 05:40:25 +00:00
2023-07-13 06:02:40 +00:00
room5: