I am creating a turn based room for 4 users and would like to understand how we can modify the 'nextturn' logic.
Scenario is :- We have 4 users in a room with below serial order. Now, in case user2 leaves the room, we want user5 to join in place of user2 in next turn logic. i.e.
User2 ----> Leaves the room a new User5 should join at this position in next turn logic rather than at end
User2 ----> Left the room
is it possible to do it with only the API's and avoid server code ? Any pointers would be appreciated. Thanks in advance.