From 6a6a514d1bd9f4a40963c044aecb1dd71213b50f Mon Sep 17 00:00:00 2001 From: John Paul Wohlscheid Date: Mon, 24 Jan 2022 00:53:48 -0500 Subject: [PATCH] Initial commit --- cop-chase-1.bas | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cop-chase-1.bas 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