Game runner written in JS shared for both web client and server.