feat(P5B.T2): GamePayload + games wrappers + winner-detect helpers + tests

Adds conversation_games table type + game_make_move RPC to db-types, GamePayload variant and parseMessagePayload branch to shared/attachments, games.ts with createGame/getGame/makeGameMove wrappers plus pure tttWinningLine/c4WinningCells/c4DropRow/isBoardFull helpers, 11 tests covering all winner helpers, and re-export from chat/index.ts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
byGalax
2026-05-16 21:47:36 +02:00
parent e1423dba32
commit 256a613134
5 changed files with 304 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ export * from './viewOnceAttachments';
export * from './whiteboards';
export * from './soundboards';
export * from './watchTogether';
export * from './games';
// ----- RPC wrappers ---------------------------------------------------------