Skip to content

Conversation

@benjiec
Copy link
Contributor

@benjiec benjiec commented Jan 2, 2026

Hi Geoffrey -- this is a set of changes we made to add bonus round to the multiplayer tossup room.

Rather than copying the multiplayer tossup room logic to a new room, we created a common "MixIn" class that handles multiplayer logic -- ServerMultiplayerRoomMixin, and then subclassed that Mixin class with TossupBonusRoom as the room logic, to create a ServerTossupBonusRoom. Similar pattern was used for the client side.

Can you let us know if this approach works with how you'd like to maintain the code? Thanks.

benjiec and others added 3 commits January 2, 2026 13:48
…layerTossupClient, so that later on we can create ServerTossupBonusRoom and MultiplayerTossupBonusClient and reuse logic that governs multiplayer rooms

add basic skletons and wiring for TossupBonusRoom and TossupBonusClient, that are just subclasses of TossupRoom and TossupClient, respectively, for now, with no new features

can advance to next bonus question, still needs client support for bonuses

with one user, can now go through tossup to bonuses back to tossup

successfully added bonuses to multiplayer with working UI/UX

added bonus timer

changed bonus timer on first part to 15s instead of 10s
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