Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.
You need Node.js and npm installed on your machine before installing this game dependencies.
npm install
This build includes map file, which is useful for debugging while developing.
npm run build
npm run watch
npm start
Browse http://localhost:3000
You could use Digital Ocean to deploy this game, or any server that can run a Node.js code with socket.io
npm run build-production
In your Production server, install forever
cli globally, to make sure the node.js process keeps running.
[sudo] npm install forever -g
Once that's done (only once per machine), you can start for Production:
npm run start-production
It's possible to run this game in Cloud9. The package forever
needs to be installed, node upgraded to the latest version instead of the default version 6 with nvm install stable
.
npm run c9