Poker application implemented in node.js