Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
b5d0bee120 chore(release): 2.7.3 [skip ci]
## [2.7.3](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.7.2...v2.7.3) (2025-10-08)

### Bug Fixes

* set room sessions to use /arcade/room URL ([9dac431](9dac431c1f))
2025-10-08 15:44:46 +00:00
Thomas Hallock
9dac431c1f fix: set room sessions to use /arcade/room URL
When creating an arcade session for a room-based game, the gameUrl was
hardcoded to '/arcade/matching'. This caused useArcadeRedirect to
redirect users from /arcade/room to /arcade/matching, breaking the
simplified room addressing model.

Fix:
- Changed gameUrl to '/arcade/room' for room-based sessions
- Now users stay on /arcade/room for the duration of room gameplay
- Solo sessions still use game-specific URLs like /arcade/matching

This ensures the user experience matches the intended design:
- /arcade/room - room-based multiplayer (regardless of game type)
- /arcade/[game] - solo/local multiplayer for specific games

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 10:43:48 -05:00
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## [2.7.3](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.7.2...v2.7.3) (2025-10-08)
### Bug Fixes
* set room sessions to use /arcade/room URL ([9dac431](https://github.com/antialias/soroban-abacus-flashcards/commit/9dac431c1f91c246f67a059cda3cff6cbef40a43))
## [2.7.2](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.7.1...v2.7.2) (2025-10-08)

View File

@@ -142,7 +142,7 @@ export function initializeSocketServer(httpServer: HTTPServer) {
await createArcadeSession({
userId: data.userId,
gameName: 'matching',
gameUrl: '/arcade/matching',
gameUrl: '/arcade/room', // Room-based sessions use /arcade/room
initialState,
activePlayers,
roomId: room.id,

View File

@@ -1,6 +1,6 @@
{
"name": "soroban-monorepo",
"version": "2.7.2",
"version": "2.7.3",
"private": true,
"description": "Beautiful Soroban Flashcard Generator - Monorepo",
"workspaces": [