Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update game URL parameters for Start Game and Join/Create Room
- Updated home.ejs: - Refactored Start Game Classic event listener to use URL parameters for game mode. - Replaced URL structure `/game/classic/${playerCount}` with `/game?type=queue&gameMode=${gameMode}`. - Updated rooms.ejs: - Refactored Join Room event listener to use URL parameters for room ID. - Replaced URL structure `/game/custom/${roomId}` with `/game?type=join&roomId=${roomId}`. - Refactored Create Room event listener to use URL parameters for game mode. - Replaced URL structure `/game/custom/${gameMode}/${playerCount}` with `/game?type=create&gameMode=${gameMode}`.
- Loading branch information