Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebabel-games/underwater-game
Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.
https://github.com/ebabel-games/underwater-game
game websocket-client websocket-server
Last synced: about 2 months ago
JSON representation
Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.
- Host: GitHub
- URL: https://github.com/ebabel-games/underwater-game
- Owner: ebabel-games
- License: gpl-3.0
- Created: 2018-09-12T16:17:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T22:37:00.000Z (about 2 years ago)
- Last Synced: 2024-05-27T17:18:28.529Z (8 months ago)
- Topics: game, websocket-client, websocket-server
- Language: JavaScript
- Homepage: https://underwater.ebabel.eu/
- Size: 44.3 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 60
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Underwater Game
[![Build Status](https://travis-ci.org/ebabel-games/underwater-game.svg?branch=master)](https://travis-ci.org/ebabel-games/underwater-game)Aquatic 3D HTML5 game of survival, fighting underwater creatures in a web browser.
![Screenshot of Underwater Game](screenshots/2018-09-25-2213.png)
## Install
You need [Node.js and npm](https://nodejs.org/) 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](https://m.do.co/c/f500245f6b66) 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
```