Pong game engine for Node.js and Browsers