Integrate CHOAM Nexus Cunning Kull with source-aware costs

This commit is contained in:
Quintine committed 2026-10-01 06:06:03 +10:00
1 parent fc5cbcd720
commit 0d9d0a72d6
32 files changed
+2502 -193

No files matched your search

+7
View File
@@ -10,6 +10,7 @@ import {
initializeSemutaGameForAudit,
initializeKullGameForAudit,
initializeRicheseBetrayalGameForAudit,
initializeNexusKullGameForAudit,
viewGame,
type Game,
} from '../game/engine';
@@ -25,6 +26,7 @@ export const PROTOTYPE_PROFILES = [
'semuta',
'kull',
'richese-betrayal',
'nexus-kull',
] as const;
export type PrototypeProfile = (typeof PROTOTYPE_PROFILES)[number];
export function isPrototypeProfile(value: string): value is PrototypeProfile {
@@ -80,6 +82,11 @@ export function startPrototypeRoom(
...initial,
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
})
: profile === 'nexus-kull'
? initializeNexusKullGameForAudit({
...initial,
nexusCards: initial.nexusCards ?? { cards: null, phase: null },
})
: profile === 'factions'
? initializeFactionExpansionsGameForAudit(initial)
: profile === 'nexus'