aomarks / bridgesim

A starship bridge simulator for the web.

Home Page:https://aomarks.github.io/bridgesim/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bridgesim

Build Status

A starship bridge simulator for the web. A work in progress.

Try it out at aomarks.github.io/bridgesim (currently Chrome only).

Built with Polymer, TypeScript, and WebRTC.

Screenshot

Developing

Assumes Node.js and Yarn are installed.

yarn install       # Initial setup.
npm run watch      # Build continuously on change.
npm run serve      # Serve on port 8080.
npm test           # Run tests once.
npm run watch-test # Run tests continuously on change.
npm run build      # Build vulcanized/minified deployment to dist/.

URL hash and query params can be useful for development:

#host            # Launch host.
#local           # Connect to a host running in another tab.
#abc123          # Connect to a game with the given token through the lobby server.
?station=weapons # Default to the given station.
?autostart       # If hosting, start the game immediately.
?metrics         # Show FPS, data usage, etc.

Lobby Service

See webrtc-lobby for details about running a lobby service for bridgesim to connect to. There's a hosted version at wss://fn.lc/lobby.

Authors

Al Marks, Tristan Rice, and others.

Licensed under the MIT License.

About

A starship bridge simulator for the web.

https://aomarks.github.io/bridgesim/


Languages

Language:TypeScript 73.6%Language:HTML 22.8%Language:JavaScript 3.1%Language:Shell 0.5%