A voxel sandbox written in HolyC. Walk, fly, break blocks and build in TempleOS's sixteen colors.
Play in TempleOS-Web → — open Games → HolyCraft.
Play in TempleOS
Copy HolyCraft.HC and Run.HC into C:/Home/HolyCraft/, then type:
#include "C:/Home/HolyCraft/Run"The game starts immediately. Run.HC selects the native TempleOS renderer.
Controls
| Control | Action |
|---|---|
| W / A / S / D | Move |
| Mouse, or I / J / K / L | Look |
| Space | Jump |
| G | Toggle flight |
| R / F | Rise / descend while flying |
| Left / right click | Break / place a block |
| 1–9, Q / E, arrows | Select a block |
| Esc | Quit |
Build and development
HolyCraft.HC is shared by two renderers: native TempleOS drawing routines and a browser raycaster compiled with HolyC-wasm. Browser builds leave TOS_NATIVE undefined.
With the compiler at ../HolyC-wasm or $HOLYC_WASM:
node tools/input.test.mjs
node tools/physics.test.mjs
node tools/window.test.mjs
node tools/render/web.mjs checkHost interface, rendering evidence and native test limitations
Credits
TempleOS, HolyC, the sword-and-scales artwork and the 8×8 system font were created by Terry A. Davis. TempleOS is public domain. The banner uses its font and artwork.