Online co-op browser remake of Arknights' Stronghold Protocol: Alliance (client-simulated combat, official waves/bonds/items/strategies, 3D board, facing wheel, operator loadout, official emotes, deployment scripts).
13 lines
701 B
JavaScript
13 lines
701 B
JavaScript
// Full co-op matches with the REAL simulation (humans on "AI 托管" + AI teammates), MATCH_SEEDS (20) seeds each, to RESULT with
|
|
// zero errors — split from fullmatch.test.js so the long co-op runs execute in parallel files.
|
|
import { test, after } from 'node:test';
|
|
import { SEEDS, runFull, reportSimIssues } from './fullmatchRun.js';
|
|
|
|
after(reportSimIssues);
|
|
|
|
for (const [humans, bots, difficulty] of [[1, 1, 'NORMAL'], [2, 1, 'HARD'], [1, 3, 'ABYSS']]) {
|
|
test(`co-op ${humans} human(s) + ${bots} AI (${difficulty}): ${SEEDS} seeds to RESULT with zero errors`, () => {
|
|
for (let seed = 1; seed <= SEEDS; seed++) runFull({ mode: 'coop', difficulty, humans, bots, seed: 100 + seed });
|
|
});
|
|
}
|