tridecco / game-client-web

Tridecco Game Client is a frontend application designed to support Tridecco games. It provides user interface rendering, user interaction handling, dynamic content loading, and communication with the backend server.
https://play.tridecco.com
GNU Affero General Public License v3.0
1 stars 0 forks source link

Implement User Interface for Creating or Joining Custom Rooms #11

Closed TKanX closed 3 months ago

TKanX commented 4 months ago

Description:

Implement a user interface that allows users to create or join custom rooms using unique room IDs. This will enable players to set up private games with friends or join specific rooms for gameplay.

Requirements:

  1. Custom Room Interface:
    • Design a dedicated page for creating and joining custom rooms.
    • Include input fields and buttons for creating a new room and joining an existing room by ID.
  2. Creating a Custom Room:
    • Provide an option for users to create a new custom room.
    • Include options for setting game mode.
    • Generate a unique room ID for each new room created.
    • Display the room ID to the user for sharing with others.
  3. Joining a Custom Room:
    • Provide an input field for users to enter a room ID and join an existing custom room.
    • Validate the entered room ID to ensure it is correct and the room exists.
    • Display an error message if the room ID is invalid or the room is full.

Acceptance Criteria:

TKanX commented 3 months ago

Added routes and page for custom rooms

https://github.com/tridecco/game-client-web/commit/dfdfb4fc428efaaafe55f9a6a67d3fdb8075bcbb

TKanX commented 3 months ago

Fixed incorrect route handling for rooms

https://github.com/tridecco/game-client-web/commit/04b91be060af5832fd3d798dbce1f311d3a33b74

TKanX commented 3 months ago

Implemented JavaScript for Join/Create Room functionality

https://github.com/tridecco/game-client-web/commit/7f8904be690e8738448246f69eeafddaa7aa8ad8