Reduce maximum player count to 9 and bump version

This commit is contained in:
coyotte508 2026-08-21 20:00:54 +00:00
commit f972f8f7fe
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -1,6 +1,6 @@
{
"name": "outpost-engine",
"version": "0.2.0",
"version": "0.2.1",
"description": "Unofficial Outpost rules engine for boardgamers.space",
"license": "AGPL-3.0",
"files": [

View file

@ -133,4 +133,4 @@ export const ROBOT_COST = 10;
export const MID_THRESHOLD = 10;
export const MIN_PLAYERS = 2;
export const MAX_PLAYERS = 10;
export const MAX_PLAYERS = 9;

View file

@ -2,7 +2,7 @@ import { startDevBackend } from "./dev-backend";
import { launch } from "./viewer";
const params = new URLSearchParams(window.location.search);
const players = Math.min(10, Math.max(2, Number(params.get("players") ?? 4)));
const players = Math.min(9, Math.max(2, Number(params.get("players") ?? 4)));
const seed = params.get("seed") ?? undefined;
const auto = params.get("auto") === "1" || params.get("auto") === "true";
const delayMs = params.get("delay") ? Number(params.get("delay")) : undefined;