What problem does it solve?
Enables developers to implement deterministic game logic on Starknet by providing clear patterns to read and modify world models, emit events, and handle player actions so game behavior is consistent and auditable.
Core Features & Use Cases
- System scaffolding: Opinionated contract structure with interface, implementation, and world access patterns to jumpstart system development.
- Model read/write: Guidance on safely reading and writing models via world storage and on structuring stateless system logic.
- Event-driven actions: Examples and best practices for declaring and emitting events to record game actions like movement, spawn, dig, and combat.
- Use Case: Implement a MovementSystem that validates moves, updates Position and Moves models, and emits a Moved event for external listeners.
Quick Start
Create a move system that updates Position based on Direction, writes updated models to world storage, and emits a Moved event.