@page "/building-calculator" @using System.Text.Json @using WebAssembly.Throwaway
Simulates resource income each turn and tracks build completion times for ordered buildings.
| Turn Requested | Building | Finish Turn | Industry Remaining |
|---|---|---|---|
| @entry.RequestedTurn | @entry.Name | @(entry.BuiltFinishTurn == 0 ? "Starting" : entry.BuiltFinishTurn.ToString()) | @entry.IndustryCostRemaining |
| Turn | Stored Gold | Income | Upkeep |
|---|---|---|---|
| @snapshot.Turn | @snapshot.Stored.Gold | @snapshot.TotalIncome.Gold | @snapshot.TotalUpkeep.Gold |
@Json