SwellFire
Steer a growing squad through the right gates, blast through the waves, reach the boss. Then watch the game play itself.
The game
Your squad runs forward on its own. You only steer left and right. Gates come in pairs and change the squad size, some multiply it, some add to it, and some take members away, so picking the right gate is the whole game. The squad fires at enemies automatically as you push toward the boss at the end of each level. Tap a shot below to see it full size, then swipe through the levels.
An automatic player that optimizes every gate
SwellFire can steer for you. As each pair of gates comes into view it weighs every position it could move to and works out how the squad would change at each gate. It steers toward the gate that grows the squad most, and when both gates would shrink it, it threads the gap between them instead.
It commits to a lane early so it never dithers in front of a gate, and keeps re-planning as the next gates appear.
How it decides
Read the gates
What each gate ahead would do to the squad.
Weigh the lanes
Consider every position it could steer to.
Pick the best
Choose the lane that grows the squad most.
Commit, then repeat
Hold the lane, and re-plan for the next gates.
You set the temperament
Cautious
Protects the squad, avoids risky gates.
Balanced
Trades squad growth against risk evenly.
Aggressive
Chases the biggest gains. Reaction speed is adjustable too.
Curious how the optimization works?
Vilvik lets you run your own optimization against built-in problems, or bring your own. Sign in for free to try the live demos.