A simple game in node.js