Hello,
What would be the best practice to measure time in a turn based game?
I was looking at room timeout, but to use that it would mean that for each turn I have to put the users in a new room?
Is there a solution where I can measure time serverside and keep users in the same room?
If yes I could use php, if not, we would need java that can measure a running process time.
Cheers,
G
Solved! Go to Solution.
Views
Replies
Total Likes
Hi There,
You could definitely use PHP or Java - we provide server integration
libraries for either. I don't exactly know what the use case is, so I can't
comment on what makes the most sense, but if it's not info that needs to be
totally secured, measuring on the client(s) can be a viable approach too.
nigel
Views
Replies
Total Likes
I think I found it! It will be the Baton class for workflow which has timeout as well.
Views
Replies
Total Likes
Hi There,
You could definitely use PHP or Java - we provide server integration
libraries for either. I don't exactly know what the use case is, so I can't
comment on what makes the most sense, but if it's not info that needs to be
totally secured, measuring on the client(s) can be a viable approach too.
nigel
Views
Replies
Total Likes
Thanks Nigel, yes we just realized the Baton class measures timeout on the client side not the server side (meaning Adobe servers)
We will do this on our own server.
Views
Replies
Total Likes
Views
Likes
Replies