Please enable JavaScript.
Coggle requires JavaScript to display documents.
TF Start, If (firstPlayer.length <= 2) - Coggle Diagram
TF Start
A single player starts a game & the system looks for other online players.
Yes
playerCount =10;
For (i=playerCount, i>1)
Yes
10 players enters z game & a question will appear & after that a button will appear or will give a light. Then everyone try to click first
The system sorts all the players who clicked by time from small to big time & puts them in a list[ ] for the FOR loop
firstPlayer = [playerId, ....,...,...,....];
For (j=0, j<firstPlayer.length)
2 more items...
No
No
Send notification once to other offline players (if the player checked again after 60 min send notification again and so on..)
i.e. If it is late at night the system will not send notification
Try again button once
Check if there are enough players
Yes
No
Try again later button
END APP
If (firstPlayer.length <= 2)
No
For(k=0, k<2)
No
playerCount = firstPlayer. Length;
Yes
Yes