Getting Started
Welcome to ctx.gg — an open source gaming platform built on the Mortar engine.
What is ctx.gg?
Section titled “What is ctx.gg?”ctx.gg (Create Test eXecute) is a platform for creating, sharing, and competing on custom game maps. It consists of four main components:
- Mortar Engine — A C++ game engine built with Vulkan rendering, flecs ECS, Jolt physics, and miniaudio.
- Map Editor — A collaborative 3D map editor that runs in the browser, built with React, Three.js, and Yjs for real-time collaboration.
- API — A backend service (Hono + PostgreSQL) that handles authentication, map storage, and tournaments.
- Desktop App — A Tauri 2 desktop client that connects to the platform and launches the engine.
Quick Links
Section titled “Quick Links”- Installation — Set up the desktop app or build from source
- Your First Map — Create a map in the editor and play it
- Engine Architecture — Understand how Mortar works under the hood
- API Reference — Integrate with the ctx.gg API
Open Source
Section titled “Open Source”All components are open source under the MIT license:
- contextgg/mortar — Game engine
- contextgg/map-editor — Map editor
- contextgg/mortar-api — Backend API
- contextgg/mortar-app — Desktop app