Engine
Engine
The quadx engine is the reason qdx exists. Its core is qdx source in engine/, and a program uses it by naming those files on the command line with the standard library.
bootstrap/qdx run std/*.qdx engine/*.qdx game.qdxThe core is early. It has three parts today, and no renderer, no input and no game language on top yet.
Fractions that give the same answer on every machine.
Entities, components, handles and snapshots.
Commands, steps, journals and replay.
What it is built to guarantee
- The same inputs give the same world. There are no floating-point numbers, no clocks and no hidden state. A recorded run replays exactly.
- The whole world can be read as text. Any state can be printed, compared and inspected without a screen.
- A snapshot costs almost nothing to take. Memory is shared with the live world until one of them changes.