my attempt at a node.js game