DinoInvaders

Defend the desert from invading pterodactyls

Speed: 1x

← / → move  |  Space fire  |  R restart  |  Touch: drag & tap

How it works

The AI uses forward simulation to decide every move. Each frame, it snapshots the game state and simulates 45 frames ahead for all six actions — move left, move right, fire, fire-left, fire-right, and stay. It scores each action by the points gained, penalises death, and favours staying clear of enemy bullets. Stay wins ties, keeping the player conservative when nothing is urgent.

Tap Viz to watch the AI think. Coloured trails show predicted player positions — blue for left, orange for right, grey for staying still. A dashed line traces the player bullet’s path for the chosen action. Pill badges above the trails show each family’s outcome (hit, score, or safe), and a badge below the player names the chosen action.

← Back

100