How can I possibly connect the players? How can I add a window wherein they can see each other like on the Tetris battle on Facebook?
I know some basic ajax polling. I am developing a Chess game.
Can this be possible on using jQuery/JavaScript?
Can anyone help me? I don’t know where to start.
You can do it using Web Sockets (an html5 feature).
Here’s more info: How to Use Sockets in JavaScript\HTML?
And here’s a cool library that uses it with a flash backup ( in case someone doesnt have an html5 browser)
http://socket.io/#faq