Alo
I have a client/server turn-based game where the players (4) on each table have 30 sec to make a move. What is the best design:
Right now I have 3 solution:
- Timer on client - The timer is activated on the client. And when the time is zero, send a message to the server, which notify the other players. Problem: What if the current client logout?
- Timer on server - The server send a message every second to all players at the table. Problem: What if I have many tables (50) running at the same time. 4*50=200 mesages every second just for uptate timers.
- Timer on client & server. The timer is activated on the client and the server send a mesage every 5 or 10 second to synchronized the timer on the client. Problem: Can’t think of anything right now.
Any other solutions?
Thx in advance.