Directories
¶
| Path | Synopsis |
|---|---|
|
Command game is the game layer's command-line tool, run as `nsgo game` (via NSGo's extension mechanism) or `go tool game` from a module that adds it as a tool, or directly with `go run github.com/nsgo-dev/game/cmd/game@latest`.
|
Command game is the game layer's command-line tool, run as `nsgo game` (via NSGo's extension mechanism) or `go tool game` from a module that adds it as a tool, or directly with `go run github.com/nsgo-dev/game/cmd/game@latest`. |
|
Command gameapi writes the exported API of a Go module's packages, read from their source and doc comments, as the JSON of package apiref: the reference the website renders as its API pages and publishes at /api.json for agents.
|
Command gameapi writes the exported API of a Go module's packages, read from their source and doc comments, as the JSON of package apiref: the reference the website renders as its API pages and publishes at /api.json for agents. |
|
Command gameproject checks, formats and applies a game's project file, game.yaml.
|
Command gameproject checks, formats and applies a game's project file, game.yaml. |
|
Command gameschema writes the JSON Schema of every YAML format the game packages define, for editors and AI tools to validate and complete the files a game's author writes, and with -check verifies that the committed schemas match the Go types.
|
Command gameschema writes the JSON Schema of every YAML format the game packages define, for editors and AI tools to validate and complete the files a game's author writes, and with -check verifies that the committed schemas match the Go types. |
|
Command nsgo-game installs the `nsgo-game` extension binary on PATH so `nsgo game` works outside a Go module (for example, to run `nsgo game new` before creating a project) via NSGo's extension mechanism.
|
Command nsgo-game installs the `nsgo-game` extension binary on PATH so `nsgo game` works outside a Go module (for example, to run `nsgo game new` before creating a project) via NSGo's extension mechanism. |
|
Command wasmprobe is a minimal entry point referencing the game packages (game, sprite, sound, tilemap) so the web size budget check can build and measure their combined GOOS=js GOARCH=wasm footprint.
|
Command wasmprobe is a minimal entry point referencing the game packages (game, sprite, sound, tilemap) so the web size budget check can build and measure their combined GOOS=js GOARCH=wasm footprint. |
Click to show internal directories.
Click to hide internal directories.