Zero Forcing Duel

A playable two-player zero forcing game β€” seed vertices, watch forces cascade, race to color the graph in fewer seeds than your opponent.
Grounded in "A Two-Player Zero Forcing Game" (arXiv:2608.04579), Dickson Y. B. Annor & Ben Howerton. The paper defines a competitive game where Alice and Bob alternately seed vertices in their own colour on a connected graph, each trying to minimise their own seed count, while the zero forcing rule cascades automatically: any coloured vertex with exactly one white neighbour immediately forces that neighbour to its own colour. They prove the game value Z_g(G) β‰₯ Z(G) (the classical zero forcing number), solve Z_g exactly for paths, cycles, stars, complete graphs and complete bipartite graphs, and verify Z_g(G) ≀ 2Β·Z(G) by exact computation through order nine. This demo lets you play that duel against a greedy AI Bob on those exact families (n = 3–9, matching the paper's order-nine verification range), computes Z(G) for your current graph by brute force, and tracks your total seeds against that classical benchmark round after round. One simplification: forces fire the instant they're legal (as above), which makes the paper's "force-preservation" rule structurally automatic β€” no player ever gets a chance to steal an already-established force β€” so the whole strategic tension collapses onto which vertex to seed next, exactly the choice Z_g(G) is built to measure.
Your move β€” click a white vertex to seed it
Alice (you) Bob (AI) White = unforced Just forced

Scoreboard β€” this round

Alice seeds0
Bob seeds0
Total seeds used0
Z(G) β€” classical (brute force)–
Paper's bound 2Β·Z(G)–

Running score

0
You
0
Bob
0
Ties

Move log

Seed history vs. Z(G) across rounds

Finish a round to start the chart.