Please enable JavaScript.
Coggle requires JavaScript to display documents.
SIL - Coggle Diagram
SIL
Create Room
connect to websocket using room_id and player_id
websocket will accept all connections and append first 8 players in a list
HOST will send
distribute
command to websocket
websocket server will run distribute function and send cards as
message
to each player
websocket will see whom got
A
of hukam and send message to all users that this user has the turn
user will send his card
websocket will determine next player
send message to all users that this user has the turn
you will check for tholu
yes
2 more items...
no
1 more item...
if there is a next player or not
yes there is next player
1 more item...
determine greatest card
1 more item...
will send connected users with details and status
to all the users in the channel
Join Room