Support Advanced No-Field reveal during foreign movement
Verify and publish checkpoint container / container (push) Successful in 13m13s

This commit is contained in:
Quintine committed 2026-11-16 18:05:32 +11:00
1 parent ee8ec0a84e
commit 51c48e371b
8 files changed
+316 -9

No files matched your search

+4 -3
View File
@@ -5,9 +5,10 @@ import { presenceAt } from './force-presence';
export type MovementPending = 'pendingFremenMove' | 'pendingIxMove' | 'pendingChoamMove';
type MovementOrder = NonNullable<Game['pendingIxMove']>;
/** Identify a single, well-formed ordinary Basic movement awaiting its native reaction. */
export function basicPendingMovement(g: Game): { key: MovementPending; player: string } | null {
if (g.status !== 'playing' || g.advanced || g.phase !== 5 ||
/** Identify a single, well-formed ordinary movement awaiting its native reaction.
* Existing Basic callers retain their mode fence unless they explicitly opt in. */
export function basicPendingMovement(g: Game, options?: {allowAdvanced?: boolean}): { key: MovementPending; player: string } | null {
if (g.status !== 'playing' || (g.advanced && !options?.allowAdvanced) || g.phase !== 5 ||
!Number.isSafeInteger(g.turn) || g.turn < 1 || g.phaseOpening || g.truthtrance ||
g.ornithopter || g.choamMarket || !Array.isArray(g.players)) return null;