Connect Basic Ixians to the full Leader Skills prototype

Admit genuine Basic Ixian setup with the full fourteen-skill deck, real
starting-card choice, optional Tleilaxu/base opponents and first-Storm HMS.
Keep public starts, Advanced and other module combinations gated.

Share per-origin cyborg movement range across engine, controls and legal bots.
Preserve independent Planetologist range after native Karama cancellation.
Connect Sandmaster force routes through room-local HMS pointer adjacency.
Retain canceled movement's no-op contract while validating actual execution.

Resolve Suk rescue before substitution with explicit ambiguous cyborg rescue
origins and exact remaining Tank losses. Finish Rihani before native
substitution, bind saved physical losses and declared exchange, and resume
mandatory/optional winner disposal on allow, decline or cancellation.
Admit exact green Ix Thumper, Harvester and Amal as Planetologist substitutes.

Validation: types, lint, 5,082 offline tests and production build passed.
Five genuine 2-6 player games completed with zero rejected actions and 54
JSON restores. Authenticated in-memory concurrent starting-card recovery,
private setup, physical card/force custody and independent review passed.
Browser FLGHBSA4 completed real setup, first Storm/HMS placement and a
conserved staged Suk battle. Mobile rescue, refresh and one-for-one
substitution passed. Screenshot capture timed out; full visual acceptance
remains open. All 1,582 prior rooms, 3,350 human seats and auxiliary records
were preserved; one new QA room/seat remains. No restart, reset or automation.

AI work remains limited to legal participation until every non-AI feature
is complete, then targets roughly 75% higher-tier wins for each adjacent pair.
This commit is contained in:
Quintine committed 2026-09-21 14:36:27 +10:00
1 parent d3559f65ad
commit 3efda2128e
28 files changed
+1461 -129

No files matched your search

+9 -1
View File
@@ -5,6 +5,7 @@ import type { Action, GameView } from '@/game/engine';
import {
planetologistLeader,
planetologistMovementModeSupported,
selectedOriginElites,
type PlanetologistMoveMode,
} from '@/game/planetologist-movement';
import { botGroundMoveAllowed } from '@/game/bot-mobility';
@@ -93,7 +94,8 @@ export function planetologistMoveDraft(
if (
selected.some(
([from]) =>
!botGroundMoveAllowed(game, me, from, target, elites[from] ?? 0, mode),
!botGroundMoveAllowed(game, me, from, target,
selectedOriginElites(selected, elites, splitLocation(from).territory), mode),
)
)
return {
@@ -194,6 +196,12 @@ export function PlanetologistMovement({
Destination: {territory(destination).name}, sector {sector}. Select the
physical forces to move below.
</p>
{me.faction === 'ixians' && (
<p className="fine">
Each origin uses its own selected cyborgs for movement range. Cyborgs
from one territory cannot carry suboids from the other territory farther.
</p>
)}
{sources.length ? (
sources.map(([from, owned]) => {
const source = splitLocation(from);
+5 -5
View File
@@ -3,10 +3,8 @@
import { useId, useState } from 'react';
import type { Action, GameView } from '@/game/engine';
import {
GRAPH,
gameTerritories,
location,
mobileRouteDistance,
splitLocation,
} from '@/game/board';
import {
@@ -17,6 +15,8 @@ import {
sandmasterLeader,
sandmasterModeSupported,
sandmasterPathBlocked,
sandmasterAdjacent,
sandmasterRouteDistance,
type SandmasterChoice,
} from '@/game/sandmaster-movement';
import { Button } from './ui/button';
@@ -144,18 +144,18 @@ export function SandmasterMovement({
const extensions =
last === destination
? []
: (GRAPH[last] ?? []).filter(
: sandmasterAdjacent(game, last).filter(
(next) =>
!route.includes(next) &&
!sandmasterPathBlocked(game, game.me, from, next) &&
mobileRouteDistance([...route, next]) <= order.range,
sandmasterRouteDistance(game, [...route, next]) <= order.range,
);
return (
<fieldset className="space-y-2" key={from}>
<legend>{placeName(game, from)} route</legend>
<p className="fine">
{route.map((key) => placeName(game, key)).join(' → ')} ·{' '}
{mobileRouteDistance(route)} / {order.range} territories
{sandmasterRouteDistance(game, route)} / {order.range} territories
</p>
<div className="flex flex-wrap gap-2">
<Button
+3 -1
View File
@@ -12,7 +12,9 @@ export function sukRescueLabel(option: SukRescueOption): string {
const kept = option.kept
? `keep 1 ${option.kept.kind === 'normal' ? 'ordinary' : 'elite'} in sector ${splitLocation(option.kept.key).sector}; `
: '';
return `Save ${option.normal} ordinary + ${option.elite} elite: ${kept}return ${total - (option.kept ? 1 : 0)} to reserves`;
const origins = option.eliteReserves ? ` (cyborgs: ${Object.entries(option.eliteReserves)
.map(([key, count]) => `${count} from sector ${splitLocation(key).sector}`).join(', ')})` : '';
return `Save ${option.normal} ordinary + ${option.elite} elite: ${kept}return ${total - (option.kept ? 1 : 0)} to reserves${origins}`;
}
export function SukGraduatePanel({ decision, act, busy }: {