From af6628bb3e66fa9cbacbccad6dc9d61472682faf Mon Sep 17 00:00:00 2001 From: John Paul Wohlscheid Date: Sat, 29 Jan 2022 00:29:33 -0500 Subject: [PATCH] update with new code --- cop-chase-1.bas | 55 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/cop-chase-1.bas b/cop-chase-1.bas index 48c7b56..583ccb2 100644 --- a/cop-chase-1.bas +++ b/cop-chase-1.bas @@ -1,5 +1,12 @@ +_Title "Cop Chase 1.0" + +Screen 12 + + rem A simple game that uses a randomizer to make the gane different "everytime" +rem declare variables + dim health as integer rem player health dim pbullets as INTEGER rem nume of player bullets @@ -12,18 +19,60 @@ dim shotloc as INTEGER rem where the criminal is shot dim situation as INTEGER rem one of three situations of the game +dim pname as string rem name of the player + + +rem create random number to randomize game scenario + + RANDOMIZE timer health = int(rnd * 100) + 1 pbullets = int(rnd * 10) + 1 -cheststate = int(rnd * +shotloc = int(rnd * 6) * 1 situation = int(rnd * 3) + 1 +Print "Welcome to an expiramental game" +print +print "Enjoy" +print +print +sleep 3 +cls +print +INPUT "Before we being, what is your named? ", pname rem The player picks a name +print +print "Thanks, " + pname ", Now let's being." -print health -print situation \ No newline at end of file +cls +start: +Print "Officer " pname ", we're recived a call from the Warden Criminal Hospital." +print "They said that the South-Side Strangler has escaoped. We've received hundreds of sightings." +print "Check out the house at 123 Maple. Be careful." + + + +livingroom: + + + + +kitchen: + + + +bedroom: + + + +basement: + + + + +attic: \ No newline at end of file