Documentation
¶
Overview ¶
Command web runs the Legend of the Red Dragon model in the browser. Compiled to WebAssembly, it hands the page a `lord` object whose calls take and return JSON: the page fetches lord.sysml, loads it, and plays one warrior in the runtime that lives in the tab, saving the game as a record of its moves the page keeps and hands back to resume. No server is involved; no rule lives here.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package lord plays the Legend of the Red Dragon model, lord.sysml: a Game runs the model in a persistent session of the public API, the menu's keys become the model's signals and actions, and the screen is a projection of the warrior's feature values.
|
Package lord plays the Legend of the Red Dragon model, lord.sysml: a Game runs the model in a persistent session of the public API, the menu's keys become the model's signals and actions, and the screen is a projection of the warrior's feature values. |