onegameDocs
onegame docs
Everything about onegame: getting started, driving a game from the terminal, building screens, exporting, checking on devices, and the cookbook.
Start
Getting startedInstall the onegame command from NuGet, create a game, run, test and export it, then write an entity with synced state, a command and a view, and test it with a scenario.Your first gameThe game onegame new writes, line by line: the project on the SDK, the entity, the screen and the scenario, then run, test and export.
Guides
Driving a gameBuild, run, test, capture, record and replay a game from the command line, the C# test API and live control over MCP, plus servers and clusters.The UI guideBuild game screens: the element tree, bindings, CSS-model styles and tokens, layout, the component kit, focus and controller navigation, theming and testing.
Shipping
ExportingExport a game for Linux, Windows, macOS, Android, iOS, the web and dedicated servers: what the build holds, its layout, Steam and the Steam Deck runtime.Checking on devicesCheck a build on real Android phones, iPhones and iPads, the Steam Deck and gamepads, and what the emulator, simulator and browser runs showed.