wooki / nuisancevalue

Multiplayer bridge-sim game using lance.gg and pixi.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuisance Value

multiplayer bridge-sim game using lance.gg, p2 and pixi.js

Overview

Stations

Helm

Image of Helm Screen

Signals

Image of Signals Screen

Navigation

Image of Navigation Screen

Engineering

Image of Engineering Screen

Captain

Image of Captain Screen

Installation

This is an example of how you can set up the client and server locally. This will allow you to develop as well as run the server and client.

Prerequisites

Node v12 and either npm or yarn.

Install

npm install

Or

yarn install

Usage

The package.json file defines several scripts to develop, build and run the project.

To build

yarn run build

To run the server

yarn run start

The server listens on port 3000 by default and when a client connects there are several options that can be passed in the querystring.

  • admin=1 allows that client to select a mission
  • sound=local|global|on local sound effects are for the individual station the client is viewing, global sounds are for a main viewer. On allows for both.
  • debug=1 allows the client to see objects outside of scan range

E.g.

http://localhost:3000?admin=1&sound=on

Contributing

Discussion, ideas and even pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

CC-BY-NC-SA-4.0

About

Multiplayer bridge-sim game using lance.gg and pixi.js


Languages

Language:JavaScript 90.2%Language:PLSQL 7.2%Language:SCSS 2.5%Language:HTML 0.1%