import { getEconScores, getElementBonus, getMilitaryDeductions, getActivePlayerCounts, getVictoryPoints, } from "./db/gameDb.js"; export async function buildRealtimeSnapshot(worldSeed) { const [scores, elementBonus, militaryDeductions, activePlayers, victoryPoints] = await Promise.all([ getEconScores(worldSeed), getElementBonus(worldSeed), getMilitaryDeductions(worldSeed), getActivePlayerCounts(worldSeed), getVictoryPoints(), ]); return { worldSeed, scores, elementBonus, militaryDeductions, activePlayers, victoryPoints, }; }