Poojyam.in : Realtime Multiplayer Game Using Websockets

Poojyam.in in simple two player game which make use of the advantage of HTML5 WebSocket technology to provide realtime multiplayer gaming experience. Poojyam.in is bases on ‘Poojyam [...]
Poojyam.in | Poojyam Vettukali, game usign HTML5 websockets

Poojyam.in | Poojyam Vettukali, game usign HTML5 websockets

Poojyam.in in simple two player game which make use of the advantage of HTML5 WebSocket technology to provide realtime multiplayer gaming experience. Poojyam.in is bases on ‘Poojyam Vettukali’ game famous mostly in southern part of india. ‘Poojyam Vettukali’ is a simple board game which need almost realtime update amoung users.

Design and User Experience

Poojyam.in | Responsive game invite screen

Poojyam.in | Responsive game invite screen

Poojyam.in is completely responsive and compactable to lower resolution screens. Since it is using Websockets technology it do not support order versions of web browsers like IE6 which do not support websockets. One another important aspect of websites is it s user experience. A facebook user can signup and start the game with only three clicks without even using keyboard. It also include some hidden features to enhance user experience like user waiting,loader indicator in the case of any delays.

Underlying Technology

Poojyam.in Websocktes communication sequence

Poojyam.in WebSocktes communication sequence

Poojaym.in is developed using PHP as the server side script and used MySql as database. All web sockets requests are handled using two redundant PHP scripts active every time.  Poojyam.in d developed in way such that it can be restarted a automatically in the case of server side or client side failures.

Authentication

Poojyam.in allows user signup using Facebook and Google account. It also provide an option to register users using simple email address and password. Poojyam.in is well integrated with Facebook using Open Graph and OpenId API. Users authenticated using Facebook can invite online Facebook friends. This invitation directly send to user chat window if that user is online, else it goes to Facebook message box.

The authentication of Websockets connection to the server is most important.  This is done using passing a security code to authenticate connection. This security code act almost like session cookie. Once websockets connection is authenticated, data can be passed between server and client without any overhand of any type of authentication.

Previous:
Next:

Tagged with:

  • Connect with :