Redesign infrastructure to hypercluster scale with 4-level hierarchy
CI / build-and-push (push) Successful in 43s
CI / build-and-push (push) Successful in 43s
Replace flat DataCenter/Rack model with Cluster > Campus > Data Center > Racks hierarchy. Individual rack entities eliminated in favor of statistical batch simulation using deployment cohorts. Adds tiered network topology (ToR/agg/core) with proportional outage model, DC retrofitting, bulk operations, and drill-down UI navigation with breadcrumbs. First cluster and campus are free to preserve early game flow. Rebalances starting economy ($600K), funding rounds, and cohort scaling for hypercluster-scale gameplay. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,9 +33,14 @@ export function FinancePage() {
|
||||
const burnRate = expensesPerTick > revenuePerTick ? expensesPerTick - revenuePerTick : 0;
|
||||
const runway = burnRate > 0 ? money / burnRate : Infinity;
|
||||
|
||||
const infraCosts = infrastructure.dataCenters.reduce(
|
||||
(s, dc) => s + dc.energyCostPerTick + dc.maintenanceCostPerTick, 0,
|
||||
);
|
||||
let infraCosts = 0;
|
||||
for (const cluster of infrastructure.clusters) {
|
||||
for (const campus of cluster.campuses) {
|
||||
for (const dc of campus.dataCenters) {
|
||||
infraCosts += dc.energyCostPerTick + dc.maintenanceCostPerTick;
|
||||
}
|
||||
}
|
||||
}
|
||||
const talentCosts = talent.totalSalaryPerTick;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user