update with new code
This commit is contained in:
		@@ -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
 | 
			
		||||
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:
 | 
			
		||||
		Reference in New Issue
	
	Block a user