fix: detect game start for Pack 7+ titles that don't use state: "Gameplay"
Pack 7 games (Quiplash 3, Blather Round) transition room state from "Lobby" to "Logo" instead of "Gameplay". Even newer titles (Doominate, Big Survey) have no room entity at all — the only signals are room/lock and room/exit opcodes. - parseRoomEntity: detect game started as any non-Lobby state - handleMessage: add room/lock and room/exit opcode handling - handleRoomLock: emit game.started as fallback for room-entity-less games - handleRoomExit: emit game.ended on explicit room close - Tests: 6 new tests covering Logo state, room/lock, room/exit Verified against live rooms: quiplash3, blanky-blank, you-ruined-it, bigsurvey. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,7 @@ export const branding = {
|
||||
app: {
|
||||
name: 'HSO Jackbox Game Picker',
|
||||
shortName: 'Jackbox Game Picker',
|
||||
version: '0.6.5 - Fish Tank Edition',
|
||||
version: '0.7.0 - Fixed For Real Edition',
|
||||
description: 'Spicing up Hyper Spaceout game nights!',
|
||||
},
|
||||
meta: {
|
||||
|
||||
Reference in New Issue
Block a user