I'm making simple board game. One of the modes, would be online room, where people can join and during for example 3 minutes try to achieve best possible score. After that time, they should get highscores of last 3 minutes.
The next 'join room' call checks endtime of last room and if it ended, it creates new one by incrementing id version of room and resetting statistics.
Cloudscript doesn't let me use adminapi, is there any other possible solution?,
I'm trying to create a simple board game. One of the modes would be 'online' room, where people join and during, for example, 3 minutes, try to achieve best score. After that, they should pull statistics only from last 3 minutes, when this room was active. There would be only one room, which will be identified by Id and EndTime. When it ends, next 'join' call should just increment id of room and reset statistics.
I thought, that resetting statistic, by incrementing version would be the best option. However, it is impossible from cloudscript, because it is Admin API call.
Is there any other solution?