Skip to content

feat: Add multiplayer rooms functionality and update GitHub Pages bas… - #7

Open
MarceloRDPJ wants to merge 1 commit into
arthr:mainfrom
MarceloRDPJ:project-analysis-6424382700229457326
Open

feat: Add multiplayer rooms functionality and update GitHub Pages bas…#7
MarceloRDPJ wants to merge 1 commit into
arthr:mainfrom
MarceloRDPJ:project-analysis-6424382700229457326

Conversation

@MarceloRDPJ

Copy link
Copy Markdown

…e path

  • Updated vite.config.ts so the base points to /term-ooo/ during build time for correct GitHub Pages hosting at https://marcelordpj.github.io/term-ooo/.
  • Updated ChatMessage types to support rooms.
  • Created a RoomLobby component allowing users to create, join, and leave rooms.
  • Injected useMultiplayerRooms into the Game layout to show the Room Lobby when TopTabs are open.
  • Added logic inside handleSubmitGuess to broadcast guess results over WebSocket when playing in a room.

…e path

- Updated `vite.config.ts` so the `base` points to `/term-ooo/` during build time for correct GitHub Pages hosting at `https://marcelordpj.github.io/term-ooo/`.
- Updated `ChatMessage` types to support rooms.
- Created a `RoomLobby` component allowing users to create, join, and leave rooms.
- Injected `useMultiplayerRooms` into the `Game` layout to show the Room Lobby when TopTabs are open.
- Added logic inside `handleSubmitGuess` to broadcast guess results over WebSocket when playing in a room.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant