a simple game engine for node and the browser