web

command
v0.0.0-...-de649ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Rendered for js/wasm

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL