← All Demos

Loom Snake

Snake game running on a Loom computer, 137×1024 state tensor, no training

Initializing...
Score
0
Length
1
Frame
0

Arrow keys or WASD to move · Space to start/pause

Register File
PC0
DIR1
HEAD_X0
HEAD_Y0
FOOD_X0
FOOD_Y0
SCORE0
LEN1
H_IDX0
T_IDX0
ATE0
OVER0
FRAME0
RAND0

How It Works

This snake game runs entirely on a Loom computer with no training. The transformer's weights are analytically computed to function as a programmable computer executing a custom instruction set with 22 opcodes.

Each game tick runs ~84 inference steps through the 8-layer transformer. Each step executes one instruction: fetching from memory, computing via subtraction, and conditionally branching, all through matrix multiplications.

State: 137×1024 bipolar tensor · ISA: 22 opcodes · Program: 210 instructions