Skip to content

Add support for custom games (shard 3): split game logic between standard and custom games - #3

Open
dejabot wants to merge 1 commit into
custom-games-shard-2from
custom-games-shard-3
Open

Add support for custom games (shard 3): split game logic between standard and custom games#3
dejabot wants to merge 1 commit into
custom-games-shard-2from
custom-games-shard-3

Conversation

@dejabot

@dejabot dejabot commented Jun 30, 2026

Copy link
Copy Markdown

Adds support for custom games. Builds off of custom-games-shard-2

This shard splits the game-specific logic between the standard FRC game and custom games using the custom build tag, and wires the custom side to the generated sources from shard 2. For each affected area — scoring (Score, ScoreSummary, RankingFields), rules, fouls, rankings reports, event settings, TBA/team-sign integrations, and the scoring-panel websocket handlers — the existing implementation is tagged !custom and a custom counterpart is added that consumes the generated types.

This is where the generated code is actually used, so it builds on shard 2's generator: after go generate ./..., the custom build compiles. The custom UI it dispatches to isn't generated until shard 4, so the feature only comes together end-to-end once that lands.

@dejabot
dejabot force-pushed the custom-games-shard-3 branch from 0054cdd to 4802d46 Compare July 14, 2026 08:41
@dejabot
dejabot force-pushed the custom-games-shard-2 branch from e10b967 to 4450a85 Compare July 14, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant