Plan your alliance city placement. Click cells to place buildings.
Last updated: October 9, 2026. Building layouts can change with updates.
The Hive Layout Planner is a 13×13 sandbox for planning your alliance's city placement before migration day. Twelve cell types cover the real decisions: R5 and R4 leadership cities, R3 members, farmers, flags, traps, hospitals, barracks, walls, towers and resource buildings. Click a cell to cycle types, sketch the hive, and screenshot the result for your alliance chat — the layout lives entirely in the page, so you can iterate freely without touching the game.
Draws a 13x13 alliance hive with the ranks arranged in rings around a centre, so members know where to relocate.
var GRID_SIZE = 13; — Thirteen tiles square, which is what the layout is designed around.var center = Math.floor(GRID_SIZE / 2); — Tile 6,6 — the middle of a 13-wide grid.grid[center][center] = 1; — The leader's tile.if (dr === 0 && dc === 0) continue; — Every tile adjacent to the centre, skipping the centre itself.if (Math.abs(dr2) <= 1 && Math.abs(dc2) <= 1) continue; — Two tiles out, skipping everything already filled by the first ring.This is a layout convention, not a game rule — the game does not enforce where a rank sits. It exists so an alliance can agree on one arrangement instead of negotiating every relocation.
Every expression shown in code above is quoted from js/calc-hive.js, which is the file this page actually runs.