Skip to content

Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.

License

Notifications You must be signed in to change notification settings

ebabel-games/underwater-game

Repository files navigation

Underwater Game

Build Status

Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.

Screenshot of Underwater Game

Install

You need Node.js and npm installed on your machine before installing this game dependencies.

npm install

Development

Build once

This build includes map file, which is useful for debugging while developing.

npm run build

Build continuously for Development

npm run watch

Run for Development

npm start

Browse http://localhost:3000

Production

You could use Digital Ocean to deploy this game, or any server that can run a Node.js code with socket.io

Build for Production

npm run build-production

Run for 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

Run on Cloud9

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

About

Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages