Added MiniScript version of 20_Buzzword.

This commit is contained in:
JoeStrout
2023-07-25 13:17:14 -07:00
parent 15e033e65c
commit 8426a39c48
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,19 @@
Original source downloaded from [Vintage Basic](http://www.vintage-basic.net/games.html).
Conversion to [MiniScript](https://miniscript.org).
Ways to play:
0. Try-It! Page:
Go to https://miniscript.org/tryit/, clear the sample code from the code editor, and paste in the contents of bunny.ms. Then click the "Run Script" button. Program output (and input) will appear in the green-on-black terminal display to the right of or below the code editor.
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 bunny.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 BASIC program. Then, at the Mini Micro command prompt, enter:
load "bunny"
run
@@ -0,0 +1,38 @@
print " "*26 + "Buzzword Generator"
print " "*15 + "Creative Computing Morristown, New Jersey"
print; print; print
print "This program prints highly acceptable phrases in"
print "'educator-speak' that you can work into reports"
print "and speeches. Whenever a question mark is printed,"
print "type a 'y' for another phrase or 'n' to quit."
words1 = ["ability","basal","behavioral","child-centered",
"differentiated","discovery","flexible","heterogeneous",
"homogeneous","manipulative","modular","tavistock",
"individualized"]
words2 = ["learning", "evaluative","objective",
"cognitive","enrichment","scheduling","humanistic",
"integrated","non-graded","training","vertical age",
"motivational","creative"]
words3 = ["grouping","modification",
"accountability","process","core curriculum","algorithm",
"performance","reinforcement","open classroom","resource",
"structure","facility","environment"]
list.any = function
return self[self.len * rnd]
end function
print; print; print "Here's the first phrase:"
while true
print [words1.any, words2.any, words3.any].join
print
yn = input("?").lower
if yn != "y" then break
end while
print "Come back when you need help with another report!"