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

Games in play now should interact with custom room games #58

Open tedhyu opened 4 hours ago

tedhyu commented 4 hours ago

When I click play now and the criteria I have (for example, 2 player, multi-round) matches the criteria of a room in custom room:

I should join that game. The play now and Start game menu should be ablet to join each other.

Presently, if there's a 2 player, multi-round game in custom room, and I click play now with those criteria, I don't join that game.

TKanX commented 3 hours ago

At the beginning of the design (including the backend and the frontend), the game matching queue (playing now) and the custom room itself are separated. One is a queue, and the other is an array of room arrays. There is no connection between the two.

But this is indeed a good feature suggestion and should be implemented in the next major version.

TKanX commented 3 hours ago

If you really want this feature to work in the current version (v0.x.x), maybe I can implement a patch in the game client that checks if there is an empty room that matches the game mode before joining the queue. This feature may be unstable because the underlying logic of the current version does not support it, so it will cause some limitations and performance issues. For example, you can only join rooms that match the game mode created before clicking "Play Now".