Integrate Ixian Nexus Betrayal at original native attempts

This commit is contained in:
Quintine committed 2026-10-01 21:58:07 +10:00
1 parent 49c99de3e2
commit cdfe0e5370
25 files changed
+2824 -63

No files matched your search

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