Directories
¶
| Path | Synopsis |
|---|---|
|
cardinal
module
|
|
|
chain
module
|
|
|
cli
|
|
|
cmd/world
command
|
|
|
commands/sdk
Package sdk implements `world sdk` — generate a typed SDK (Go + C#) from a backend's Go command structs, via buf+protoc in Docker.
|
Package sdk implements `world sdk` — generate a typed SDK (Go + C#) from a backend's Go command structs, via buf+protoc in Docker. |
|
internal/auth
Package auth obtains an Argus JWT for calls to remote services, caching it between runs so a developer signs in roughly once a month.
|
Package auth obtains an Argus JWT for calls to remote services, caching it between runs so a developer signs in roughly once a month. |
|
internal/debug
Package debug drives a Cardinal shard's tick controls over DebugService.
|
Package debug drives a Cardinal shard's tick controls over DebugService. |
|
internal/sdkgen
Package sdkgen reads command structs from a World Engine backend (Go source) and produces typed serde.
|
Package sdkgen reads command structs from a World Engine backend (Go source) and produces typed serde. |
|
internal/tui/component/logtail
Package logtail displays streamed logs and handles tail-session input.
|
Package logtail displays streamed logs and handles tail-session input. |
|
internal/tui/kit/keys
Package keys holds bindings and help rendering shared by TUI components.
|
Package keys holds bindings and help rendering shared by TUI components. |
|
pkg/dnslabel
Package dnslabel normalizes arbitrary strings into DNS-label-safe path segments.
|
Package dnslabel normalizes arbitrary strings into DNS-label-safe path segments. |
|
pkg/k8s/cardinal-operator
Package cardinaloperator holds the logic and embedded manifests world-cli uses to run shards on a local k3d cluster through cardinal-operator.
|
Package cardinaloperator holds the logic and embedded manifests world-cli uses to run shards on a local k3d cluster through cardinal-operator. |
|
e2e
|
|
|
tests
module
|
|
|
magefiles
module
|
|
|
pkg
|
|
|
box2d
Package box2d is a native Go port of Box2D v3.2.0, the 2D physics engine by Erin Catto (https://github.com/erincatto/box2d).
|
Package box2d is a native Go port of Box2D v3.2.0, the 2D physics engine by Erin Catto (https://github.com/erincatto/box2d). |
|
cardinal
Package cardinal runs a World Engine game shard.
|
Package cardinal runs a World Engine game shard. |
|
immutable
Package immutable holds value types that keep their storage private, so nothing outside this package can reach into one.
|
Package immutable holds value types that keep their storage private, so nothing outside this package can reach into one. |
|
plugin/data
Package data is a Cardinal plugin that loads JSON configuration into a world-owned catalog at world init.
|
Package data is a Cardinal plugin that loads JSON configuration into a world-owned catalog at world init. |
|
plugin/data/component
Package component holds the Cardinal components the data plugin owns.
|
Package component holds the Cardinal components the data plugin owns. |
|
plugin/data/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
plugin/lobby
Package lobby provides a flexible lobby/party system for Cardinal worlds.
|
Package lobby provides a flexible lobby/party system for Cardinal worlds. |
|
plugin/lobby/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
plugin/physics2d
Package physics2d is a Box2D-backed 2D physics plugin for Cardinal (pure-Go Box2D port in pkg/box2d).
|
Package physics2d is a Box2D-backed 2D physics plugin for Cardinal (pure-Go Box2D port in pkg/box2d). |
|
plugin/physics2d/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
plugin/physics2d/query
Package query declares the request, result, and filter types for the physics2d query API (raycast, AABB overlap, circle sweep).
|
Package query declares the request, result, and filter types for the physics2d query API (raycast, AABB overlap, circle sweep). |
|
plugin/physics2d/test/e2e/cmd/physics2d-e2e
command
Command game is the physics2d test game: a Cardinal world whose only job is to exercise the physics2d plugin and report anything that does not behave the way Box2D does.
|
Command game is the physics2d test game: a Cardinal world whose only job is to exercise the physics2d plugin and report anything that does not behave the way Box2D does. |
|
plugin/physics2d/test/e2e/internal/probe
Package probe holds the ECS components this test game adds on top of the physics2d plugin's own Transform2D / Velocity2D / PhysicsBody2D.
|
Package probe holds the ECS components this test game adds on top of the physics2d plugin's own Transform2D / Velocity2D / PhysicsBody2D. |
|
plugin/physics2d/test/e2e/internal/restore
Package restore drives the crash-restore check: snapshot a running world, rebuild it in a fresh one, and compare.
|
Package restore drives the crash-restore check: snapshot a running world, rebuild it in a fresh one, and compare. |
|
plugin/physics2d/test/e2e/internal/scenario
Package scenario holds the individual physics2d test scenarios.
|
Package scenario holds the individual physics2d test scenarios. |
|
telemetry/trace
Package trace is a light wrapper over the OpenTelemetry tracing API, modeled on Sourcegraph's internal/trace: one constructor bound to the global tracer provider and a Trace type that adds error helpers to the span.
|
Package trace is a light wrapper over the OpenTelemetry tracing API, modeled on Sourcegraph's internal/trace: one constructor bound to the global tracer provider and a Trace type that adds error helpers to the span. |
|
template/bare-bone/shards/game
command
|
|
|
template/basic/shards/game
command
|
|
|
template/basic/shards/game/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
template/multi-shard/shards/chat
command
|
|
|
template/multi-shard/shards/chat/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
template/multi-shard/shards/game
command
|
|
|
template/multi-shard/shards/game/gen
Code generated by world sdk generate.
|
Code generated by world sdk generate. |
|
proto
|
|
|
sign
module
|
Click to show internal directories.
Click to hide internal directories.