direction: R · turn: 0/57 · score: 0 · length: 3 · press an arrow key or tap a button to start
▲ ◀ ▼ ▶
restart
This is a snake game, running on an ollama server that serves a custom .gguf file. This .gguf file is not a model, it has not been built via training: it has been handcrafted to receive inputs from the user (as tokens) and answer with the new position of the snake head and the current state.
Every 700ms the frontend sends the server its input, as always with the whole game history: the server has no state, and no idea of where the snake is. It computes it from all the inputs it receives — not with some stochastic learned method, but with good old deterministic computations.
Attention heads read the tape at fixed offsets to extract the latest move and the food position; the MLP computes the transition cell + move → new cell, and checks for food and collisions.