mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-21 23:00:43 -08:00
Added MiniScript version of 42_Gunner. Also, clarified instructions in MiniScript README files.
This commit is contained in:
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript aceyducey.ms
|
miniscript aceyducey.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "aceyducey"
|
load "aceyducey"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
Note that because this program imports "listUtil", you will need to have a the standard MiniScript libraries somewhere in your import path.
|
Note that because this program imports "listUtil", you will need to have a the standard MiniScript libraries somewhere in your import path.
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "amazing"
|
load "amazing"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript animal.ms
|
miniscript animal.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "animal"
|
load "animal"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript awari.ms
|
miniscript awari.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "awari"
|
load "awari"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bagels.ms
|
miniscript bagels.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bagels"
|
load "bagels"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript banner.ms
|
miniscript banner.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "banner"
|
load "banner"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript basketball.ms
|
miniscript basketball.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "basketball"
|
load "basketball"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript batnum.ms
|
miniscript batnum.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "batnum"
|
load "batnum"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript battle.ms
|
miniscript battle.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "battle"
|
load "battle"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
But note that the current release (1.2.1) of command-line MiniScript does not properly flush the output buffer when line breaks are suppressed, as this program does when prompting for your next action after a Hit. So, method 2 (below) is recommended for now.
|
But note that the current release (1.2.1) of command-line MiniScript does not properly flush the output buffer when line breaks are suppressed, as this program does when prompting for your next action after a Hit. So, method 2 (below) is recommended for now.
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "blackjack"
|
load "blackjack"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bombardment.ms
|
miniscript bombardment.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bombardment"
|
load "bombardment"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bombsaway.ms
|
miniscript bombsaway.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bombsaway"
|
load "bombsaway"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bounce.ms
|
miniscript bounce.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bounce"
|
load "bounce"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bowling.ms
|
miniscript bowling.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bowling"
|
load "bowling"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript boxing.ms
|
miniscript boxing.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "boxing"
|
load "boxing"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bug.ms
|
miniscript bug.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bug"
|
load "bug"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bull.ms
|
miniscript bull.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bull"
|
load "bull"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bullseye.ms
|
miniscript bullseye.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bullseye"
|
load "bullseye"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bunny.ms
|
miniscript bunny.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bunny"
|
load "bunny"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript bunny.ms
|
miniscript bunny.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "bunny"
|
load "bunny"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript calendar.ms
|
miniscript calendar.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "calendar"
|
load "calendar"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript change.ms
|
miniscript change.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "change"
|
load "change"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript checkers.ms
|
miniscript checkers.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "checkers"
|
load "checkers"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript chemist.ms
|
miniscript chemist.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "chemist"
|
load "chemist"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript chief.ms
|
miniscript chief.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "chief"
|
load "chief"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript chomp.ms
|
miniscript chomp.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "chomp"
|
load "chomp"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript civilwar.ms
|
miniscript civilwar.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "civilwar"
|
load "civilwar"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript combat.ms
|
miniscript combat.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "combat"
|
load "combat"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript craps.ms
|
miniscript craps.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "craps"
|
load "craps"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript cube.ms
|
miniscript cube.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "cube"
|
load "cube"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript depthcharge.ms
|
miniscript depthcharge.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "depthcharge.ms"
|
load "depthcharge.ms"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript diamond.ms
|
miniscript diamond.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "diamond"
|
load "diamond"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript dice.ms
|
miniscript dice.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "dice"
|
load "dice"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript digits.ms
|
miniscript digits.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "digits"
|
load "digits"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ or
|
|||||||
|
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "evenwins"
|
load "evenwins"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript flipflop.ms
|
miniscript flipflop.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "flipflop"
|
load "flipflop"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ or
|
|||||||
miniscript ftball.ms
|
miniscript ftball.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "football"
|
load "football"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript furtrader.ms
|
miniscript furtrader.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "furtrader"
|
load "furtrader"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript golf.ms
|
miniscript golf.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "golf"
|
load "golf"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript gomoko.ms
|
miniscript gomoko.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "gomoko"
|
load "gomoko"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript guess.ms
|
miniscript guess.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "guess"
|
load "guess"
|
||||||
run
|
run
|
||||||
|
|||||||
16
00_Alternate_Languages/42_Gunner/MiniScript/README.md
Normal file
16
00_Alternate_Languages/42_Gunner/MiniScript/README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Original source downloaded from [Vintage Basic](http://www.vintage-basic.net/games.html).
|
||||||
|
|
||||||
|
Conversion to [MiniScript](https://miniscript.org).
|
||||||
|
|
||||||
|
Ways to play:
|
||||||
|
|
||||||
|
1. Command-Line MiniScript:
|
||||||
|
Download for your system from https://miniscript.org/cmdline/, install, and then run the program with a command such as:
|
||||||
|
|
||||||
|
miniscript gunner.ms
|
||||||
|
|
||||||
|
2. Mini Micro:
|
||||||
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
|
load "gunner"
|
||||||
|
run
|
||||||
78
00_Alternate_Languages/42_Gunner/MiniScript/gunner.ms
Normal file
78
00_Alternate_Languages/42_Gunner/MiniScript/gunner.ms
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
print " "*30 + "Gunner"
|
||||||
|
print " "*15 + "Creative Computing Morristown, New Jersey"
|
||||||
|
print; print; print
|
||||||
|
print "You are the officer-in-charge, giving orders to a gun"
|
||||||
|
print "crew, telling them the degrees of elevation you estimate"
|
||||||
|
print "will place a projectile on target. A hit within 100 yards"
|
||||||
|
print "of the target will destroy it."; print
|
||||||
|
|
||||||
|
// Select a target and give the player up to 5 tries to hit it.
|
||||||
|
// Return the number of shots taken, or set globals.gameOver to true.
|
||||||
|
playOneTarget = function(maxRange)
|
||||||
|
globals.gameOver = false
|
||||||
|
targetDist = floor(maxRange * (.1 + .8 * rnd))
|
||||||
|
shot = 0
|
||||||
|
print "Distance to the target is " + targetDist + " yards."
|
||||||
|
print
|
||||||
|
while true
|
||||||
|
print
|
||||||
|
degrees = input("Elevation? ").val
|
||||||
|
if degrees > 89 then
|
||||||
|
print "Maximum elevation is 89 degrees."
|
||||||
|
continue
|
||||||
|
else if degrees < 1 then
|
||||||
|
print "Minimum elevation is one degree."
|
||||||
|
continue
|
||||||
|
end if
|
||||||
|
shot += 1
|
||||||
|
if shot >= 6 then
|
||||||
|
globals.gameOver = true
|
||||||
|
return
|
||||||
|
end if
|
||||||
|
radiansX2 = 2 * degrees * pi/180
|
||||||
|
throw = maxRange * sin(radiansX2)
|
||||||
|
diff = floor(targetDist - throw)
|
||||||
|
if abs(diff) < 100 then
|
||||||
|
print "*** TARGET DESTROYED *** " + shot + " rounds of ammunition expended."
|
||||||
|
return shot
|
||||||
|
end if
|
||||||
|
if diff > 0 then
|
||||||
|
print "Short of target by " + diff + " yards."
|
||||||
|
else
|
||||||
|
print "Over target by " + abs(diff) + " yards."
|
||||||
|
end if
|
||||||
|
end while
|
||||||
|
end function
|
||||||
|
|
||||||
|
playOneGame = function
|
||||||
|
maxRange = floor(40000*rnd + 20000)
|
||||||
|
print "Maximum range of your gun is " + maxRange + " yards."
|
||||||
|
shots = 0
|
||||||
|
for targetNum in range(1,4)
|
||||||
|
shots += playOneTarget(maxRange)
|
||||||
|
if gameOver then break
|
||||||
|
if targetNum < 4 then
|
||||||
|
print
|
||||||
|
print "The forward observer has sighted more enemy activity..."
|
||||||
|
end if
|
||||||
|
end for
|
||||||
|
if gameOver then
|
||||||
|
print; print "Boom !!!! You have just been destroyed"
|
||||||
|
print "by the enemy."; print; print; print
|
||||||
|
else
|
||||||
|
print; print; print "Total rounds expended were: " + shots
|
||||||
|
end if
|
||||||
|
if shots > 18 or gameOver then
|
||||||
|
print "Better go back to font sill for refresher training!"
|
||||||
|
else
|
||||||
|
print "Nice shooting !!"
|
||||||
|
end if
|
||||||
|
end function
|
||||||
|
|
||||||
|
// Main loop
|
||||||
|
while true
|
||||||
|
playOneGame
|
||||||
|
print; yn = input("Try again (Y or N)? ").upper
|
||||||
|
if not yn or yn[0] != "Y" then break
|
||||||
|
end while
|
||||||
|
print; print "OK. Return to base camp."
|
||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript kinema.ms
|
miniscript kinema.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "kinema"
|
load "kinema"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript letter.ms
|
miniscript letter.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "letter"
|
load "letter"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript nicomachus.ms
|
miniscript nicomachus.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "nicomachus"
|
load "nicomachus"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript number.ms
|
miniscript number.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "number"
|
load "number"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript sinewave.ms
|
miniscript sinewave.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "sinewave"
|
load "sinewave"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript number.ms
|
miniscript number.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "number"
|
load "number"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript train.ms
|
miniscript train.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "train"
|
load "train"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript trap.ms
|
miniscript trap.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "trap"
|
load "trap"
|
||||||
run
|
run
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Download for your system from https://miniscript.org/cmdline/, install, and then
|
|||||||
miniscript war.ms
|
miniscript war.ms
|
||||||
|
|
||||||
2. Mini Micro:
|
2. Mini Micro:
|
||||||
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the BASIC program. Then, at the Mini Micro command prompt, enter:
|
Download Mini Micro from https://miniscript.org/MiniMicro/, launch, and then click the top disk slot and chose "Mount Folder..." Select the folder containing the MiniScript program and this README file. Then, at the Mini Micro command prompt, enter:
|
||||||
|
|
||||||
load "war"
|
load "war"
|
||||||
run
|
run
|
||||||
|
|||||||
Reference in New Issue
Block a user