Skip to the game

Lab record 03 · Hamiltonian cycle

Snake

The counterpoint to the 2048 solver. 2048 has random spawns, so no strategy can promise a win. Snake is deterministic — and this AI carries an actual proof: it never dies, and it fills all 144 cells, every time. Turn on the cycle overlay to see why.

Snake Apple Cycle

or WASD to steer · Space AI · C cycle · R new game Swipe the board to steer