Skip to content

About

Seed of a new world. An onchain game engine, built for devs with ambition. (world/acc)

Topics

Resources

Stars

118 stars

Watchers

10 watching

Forks

Repository files navigation

World Engine
The world’s first Gamechain SDK that utilizes Argus Labs’ novel sharded rollup architecture.

Code Coverage Go Report Card Telegram Chat Go Reference Twitter Follow

⚠️ Work in Progress

Hey there!

We're in the process of rewriting the World Engine from the ground up.

Stay tuned!

Development

Install proto, then run proto trust && proto install from the repository root to install the Go, moon and golangci-lint versions in .prototools (trust lets proto load the golangci-lint plugin). Keep proto's shims on your PATH so go and moon use those versions.

moon tasks                          # List project tasks
moon run world-engine:build          # Build Go packages
moon run world-engine:lint           # Lint with the pinned linter
moon run world-engine:lint-fix       # Apply lint fixes
moon run world-engine:test           # Run all Go tests
moon run world-engine:test-ci        # Write coverage.out and junit.xml
TEST_SEED=123 moon run world-engine:test  # Replay a test seed

gotestsum runs through go tool. Failing tests log a seed for reproduction. Test tasks aren't cached so randomized tests run each time. Go's own compilation and test caches remain enabled.

Generated clients have separate projects:

  • moon run proto-csharp:build or proto-csharp:pack builds or packages the C# client. Requires the .NET SDK. Debug variants use build-debug and pack-debug.
  • moon run proto-ts:build type-checks the TypeScript client. Requires Node/npm and a prior npm install in proto/gen/ts.

Moon replaces both Taskfiles. Task names use hyphens, for example test:ci becomes world-engine:test-ci. C# rebuild cleans before building, and update reports outdated dependencies without changing them. Formatting and analysis failures propagate to the caller.

CI runs the same Go tasks as local development. The Box2D workflow retains its separate architecture matrix and explicit determinism-* targets. Workflows select explicit targets instead of moon ci, keeping the expensive determinism checks in their dedicated matrix. Generated clients can be selected explicitly on runners with their SDKs installed. Cleanup and formatting never run automatically.

Amp orbs

.agents/setup installs the pinned Go and moon versions, Buf and the local protobuf generators, then downloads Go dependencies. It is safe to rerun and keeps the tools available in new login shells. .agents/resume checks the Go and moon versions without installing anything. Neither script requires secrets.

Go unit tests use in-process services; no database or background server is needed. Docker-backed CLI integration tests, the .NET SDK, and TypeScript client npm dependencies are optional and are not provisioned by orb setup.

About

Seed of a new world. An onchain game engine, built for devs with ambition. (world/acc)

Topics

Resources

Stars

118 stars

Watchers

10 watching

Forks

Releases

Used by

Contributors

Languages