Real Time notifications - how does it work ?

Game development with Board Game Arena Studio
Post Reply
Tententai
Posts: 2
Joined: 26 February 2013, 18:47

Real Time notifications - how does it work ?

Post by Tententai »

Question to the developpers of the BGA studio : how did you achieve real time notifications to all players (e.g. I play card A and other players get immediately notified), with just PHP and JS ? Is there some regular polling on the client-side constantly asking the server if there is a new game state, or is it something pushed from the server (e.g. with websockets) ?
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Real Time notifications - how does it work ?

Post by sourisdudesert »

Hi,

We're using CometD.

Cheers,
Tententai
Posts: 2
Joined: 26 February 2013, 18:47

Re: Real Time notifications - how does it work ?

Post by Tententai »

Thanks ! Will check it.
Post Reply

Return to “Developers”