I have a CodeIgniter MVC web application which works perfectly. Recently, my client asked me to add a game center module to this web application which we can add game modules as we develop them and, the first game they want to add is a backgammon.
So the game center itself is basically a new controller in exsisting MVC application, so that both game center and mvc application can share the same user session.
But for the backgammon module, which approach should I use?
My ideas:
Considering all the game modules must have a user to user chat module, which approach should I choose? What are the pros / cons of these methods, or, any other method I couldn't think of?
A flash application for the front end, since it is installed in most computers and the behavior is the same in all browsers (compared to Javascript, where you would have to adapt your UI and logic to each browser's JS implementation).
A Node.JS backend for peer to peer. You can even use RTMFP (check out ArcusNode or other p2p node.js implementations).