Integrate exact Ixian Nexus purchased-card replacement

This commit is contained in:
Quintine committed 2026-10-01 17:12:46 +10:00
1 parent c43ab64872
commit a2b04dbfba
26 files changed
+4588 -34

No files matched your search

+7
View File
@@ -12,6 +12,7 @@ import {
initializeRicheseBetrayalGameForAudit,
initializeNexusKullGameForAudit,
initializeGuildBetrayalGameForAudit,
initializeIxianNexusReplacementGameForAudit,
viewGame,
type Game,
} from '../game/engine';
@@ -29,6 +30,7 @@ export const PROTOTYPE_PROFILES = [
'richese-betrayal',
'nexus-kull',
'guild-betrayal',
'ixian-replacement',
] as const;
export type PrototypeProfile = (typeof PROTOTYPE_PROFILES)[number];
export function isPrototypeProfile(value: string): value is PrototypeProfile {
@@ -94,6 +96,11 @@ export function startPrototypeRoom(
...initial,
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
})
: profile === 'ixian-replacement'
? initializeIxianNexusReplacementGameForAudit({
...initial,
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
})
: profile === 'factions'
? initializeFactionExpansionsGameForAudit(initial)
: profile === 'nexus'