With 9 Kings Version 1.0 launching in November 2026 and unlocking cross-king custom decks , planning optimal 3Γ3 core plots (and late-game 5Γ5 expansions) past Year 33 turned into a fun graph-optimization problem.
Instead of tracking builds in static spreadsheets, I built NineKingsLab β a 100% free, zero-login interactive 3Γ3 / 5Γ5 build planner and synergy calculator in Next.js 15 + TypeScript.
1. Modeling Orthogonal & 8-Neighbor Synergy Graphs
Buildings like Beacon , Blacksmith , Library , Amplifier , Forest , and Vault buff either orthogonal (4-way) or full adjacent (8-way) tiles, scaling with plot level (1β3) and enchantment stacks:
const DIRS_8 = [ [ - 1 , - 1 ] , [ - 1 , 0 ] , [ - 1 , 1 ] , [ 0 , - 1 ] , [ 0 , 1 ] , [ 1 , - 1 ] , [ 1 , 0 ] , [ 1 , 1 ] , ] ;
// For each buff plot, evaluate outgoing edges to adjacent combat/economy plots // and flag layout optimization hints (e.g., moving Beacon to center tile (2,2)).
Enter fullscreen mode
Exit fullscreen mode
2.β¦