class_name Types ## Constants from the TS engine's types.ts. ## ## The game state is plain Dictionaries and Arrays shaped exactly like the TS GameState's JSON, with ## the same keys (see godot-plan.md ยง3), so these are the only "types" the port needs. The shapes are ## documented in files-tcg/sim/src/types.ts. ## 0 = South (starts on S1), 1 = North (starts on S2). const PLAYER_NAMES: Array[String] = ["South", "North"] ## Status timers count half-turns: the clock is 2T at the start of player-turn T and 2T + 1 at its ## end. A status with `until: n` is active while the clock is below n. const FOREVER := 1000000000 const STAT_KEYS: Array[String] = [ "capturesUnowned", "capturesUndefended", "capturesInCombat", "attacks", "attacksWon", "combatsTied", "damageDealt", "anomaliesDestroyed", "recalls", "combatsEnded", "firewallsPlaced", "firewallsUpgraded", "firewallsCleared", "bandwidthFromCaptures", "bandwidthFromSalvage", "bandwidthFromEffects", "bandwidthOnFirewalls", "bandwidthOnCards", "bandwidthOnAbilities", "cardsSalvaged", "cardsDrawn", "hardwareInstalled", "hardwareLost", "programsInstalled", "programsLost", "executionsPlayed", "abilitiesUsed", "anomaliesRecruited", "anomaliesRetired", "anomaliesBought", "bandwidthOnAnomalies", ]