feat(games): add solo mode to room creation and AU currency betting
Some checks failed
Deploy to Production / test (push) Failing after 31s

Solo mode is now a toggle in the chess room creation modal, available
to all users instead of admin-only. Betting lets players wager AU on
games with preset amounts, async deduction on game start, and automatic
payout/refund on game end.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
syntaxbullet
2026-04-05 18:09:03 +02:00
parent 4f89ed3082
commit f368da9e73
8 changed files with 283 additions and 24 deletions

View File

@@ -39,6 +39,8 @@ export enum TransactionType {
QUEST_REWARD = 'QUEST_REWARD',
TRIVIA_ENTRY = 'TRIVIA_ENTRY',
TRIVIA_WIN = 'TRIVIA_WIN',
GAME_BET = 'GAME_BET',
GAME_WIN = 'GAME_WIN',
}
export enum ItemTransactionType {