You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be nice if there was an API method for retrieving the game state, in particular, whose turn it is.
e.g.
/api/game/:gameId
That returned the game state in JSON. Then folks could regularly poll this method (maybe once an hour?) to see if the player turn has changed and implement their own notifications.
The text was updated successfully, but these errors were encountered:
Hi @bertrandom ! 👋 Thanks for submitting this issue! I have absolutely nothing against such functionality and could possibly implement it myself if there were enough demand/interest in it. I'm not sure who else would make use of it at the moment. But if you want to implement, please feel free--I'd be happy to review any code you produce toward the effort!
It'd be nice if there was an API method for retrieving the game state, in particular, whose turn it is.
e.g.
/api/game/:gameId
That returned the game state in JSON. Then folks could regularly poll this method (maybe once an hour?) to see if the player turn has changed and implement their own notifications.
The text was updated successfully, but these errors were encountered: