diff --git a/cop-chase-1.bas b/cop-chase-1.bas new file mode 100644 index 0000000..48c7b56 --- /dev/null +++ b/cop-chase-1.bas @@ -0,0 +1,29 @@ +rem A simple game that uses a randomizer to make the gane different "everytime" + +dim health as integer rem player health + +dim pbullets as INTEGER rem nume of player bullets + +dim cheststate as INTEGER rem state of the chest with bullets + +dim cpullets as INTEGER rem number of bullets in the chest + +dim shotloc as INTEGER rem where the criminal is shot + +dim situation as INTEGER rem one of three situations of the game + +RANDOMIZE timer + +health = int(rnd * 100) + 1 + +pbullets = int(rnd * 10) + 1 + +cheststate = int(rnd * + +situation = int(rnd * 3) + 1 + + + +print health + +print situation \ No newline at end of file