.ax Arcade

6 games at 60fps in pure .ax

Not a framework. Not a library. Just .ax calling canvas imports through WASM.

Six Games, Zero JS

Rose Draw
Ring rose curve
2310 elements painted by class color. Coupling controls radius.
Eigenvalue Walk
Arrow key explorer
Walk through Z/2310. See eigenvalues, CRT decomposition, coupling classes.
Pong
Fixed-point physics
Two paddles, accelerating ball. Up/Down = paddle, Left/Right = speed, 1-9 = AI difficulty.
Class Map
Z/2310 as grid
77 columns, 30 rows. Every element colored by GCD class.
Catch!
Arrow key collection
Move the blue square. Catch red circles. Score counter.
Ring Survivor
Vampire Survivors-style
4 weapons. Prime enemies. Wave progression. Level up. Survive.

How It Works

WASM Imports = The Pattern
These games use the same mechanism as this website: .ax calls browser APIs through WASM imports. Canvas (fillRect, arc, fillText), animation (requestAnimationFrame), input (key_state). The game loop runs at 60fps inside WASM. No JS game engine. No framework. Just .ax talking to pixels.

Source code · Public domain (CC0)

Report issue

.ax source compiled to WASM via self-hosting compiler. Zero HTML authored.