It’s not too hard! This is the full code, mostly CSS (which I know you’re an expert on):
"FakeTwine" by Mathbrush
Release along with a "Bisquixe" interpreter.
Include Simple Multimedia Effects by Mathbrush.
Include Basic Screen Effects by Emily Short.
Current Room is a room.
When play begins:
css-set-fast ".BufferWindow;background-color;black";
css-set-fast ".BufferWindow;padding;100px 250px 6px 2px";
css-set-fast ".BufferWindow;overflow;auto";
css-set-fast ".GridWindow;background-color;black";
css-set-fast ".BufferLine;font-size;16px";
css-set-fast ".BufferLine;color;white";
css-set-fast ".Input;display;none";
css-set-fast ".coverimage;display;none";
css-set-fast ".interpretercredit;display;none";
css-set-fast ".links;display;none";
css-set-fast ".play;background-color;black";
css-set-fast ".BufferLine;font-family;Verdana, sans serif";
now the command prompt is "";
Report looking for the first time:
[If we used when play begins, the first passage would be lower down.]
clear the screen;
say "Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the [passage world]."
To say passage (nextPassage - a passage):
hyperlink "[nextPassage]" as "zzxvm [nextPassage]"
Passaging is an action applying to one thing. Understand "zzxvm [any passage]" as passaging.
A passage is a kind of thing.
Carry out passaging:
if the noun is a passage listed in the Table of All Passages:
clear the screen;
say "[reply entry]";
Some passages are defined by the table of all passages.
A passage has some text called the reply.
When play begins:
now every passage is held by the player;
Table of All Passages
passage reply
world "'All the world's a [passage stage], and all the men and women are merely [passage players].'"
players "Don't hate the players, hate the game. -[passage Moby Dick]"
stage "At this stage, we're pretty similar to Twine. -[passage Moby Dick]"
moby dick "Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the [passage world]."
Rule for printing the banner text:
do nothing;
The room description heading rule does nothing.
Rule for constructing the status line:
do nothing;
So it’s just a table of ‘passages’, each with some text, and you link to each one using the ‘passaging’ technique. If you wanted to change variables, you would just say
After passaging moby dick:
now IshmaelSpoke is true;
or whatever you want.