Repository navigation
feat(tournaments): map veto on or off, a wingman preset, and a veto countdown bar - #755
Merged
Merged
Conversation
…ountdown bar From the 2026-10-12 test: - A BO1/BO3/BO5 tournament always ran a veto and wanted exactly 7 maps. The veto is now a switch (settings.cs2.veto, default on). Off: no veto phase anywhere (start, later rounds, the turn timer), each match plays maps drawn from the pool (the same draw on every config read), and one map or more is enough. - "Set up as wingman" on the maps step: CS2's wingman maps, wingman map type, no veto, 16 rounds. A wingman match is 2v2 whatever the team size says (bot fill fills to two a side). - The veto shows the turn's time to everyone, every step including the side pick: a bar that drains, with the seconds left. Core gets one optional integration hook, usesPreMatchPhase(tournament). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From tonight's test.
settings.cs2.veto(default on). Off:usesPreMatchPhasefalse (new optional integration hook, used byScheduler.startTournamentand the bracket's initial statuses),isReadyToAllocatetrue, the veto timer skips the tournament, andmatchConfigdraws the maps from the pool (drawMaps, seeded by the slug). Map rule: one map or more.mapMode: 'wingman', veto off, MR16. Wingman matches useplayers_per_team: 2.TurnBarat the top of the veto for both teams and spectators, every step incl. side pick (turnDeadline/turnSecondswere already sent to everyone).tests/api/cs2-no-veto.spec.ts.🤖 Generated with Claude Code