Skip to content

quill18/terraforming-mars

 
 

Repository files navigation

terraforming-mars

Terraforming Mars Boardgame

The board game is great, this repository highly recommends purchasing it for personal use. If you want to play with people online, you can use this tool.

Join us on Discord here.

Demo

You can try online here. Please post any issues found. If you plan on playing long running games it is recommended to host the game locally. This demo site is currently not stable and gets restarted during each push to master. A multiplayer game will remain available for 10 days, after this delay it will be flushed from the database. Unfinished solo games are flushed after one day. As this repository is gaining in popularity we attempt to make this demo page stable but it can't be guaranteed that your game will not be lost. Running the game locally will always be straight forward and it is highly recommended to host the game locally and provide the server ip to other players.

Running

You can run the game server locally if you have npm and node. To start the game server run the start script.

npm install
npm run start

This will start the game server listening on the default port of 8080. If you then point a web browser to http://localhost:8080 you will be on the create game screen. To change this port from 8080, add PORT=<new port> in your .env file.

Pointing your web browser to http://localhost:8080/games-overview?serverId=_SERVER-ID_ will provide a list of all games available on the server. The secret SERVER-ID is available from the console after starting the server and required to access game administration pages like the games overview.

Local Setup

Additional information on how to setup the game server locally can be found here (short version) and here (detailed version).

Docker

Additional information on how to setup the game with docker can be found here.

HTTPS

To set up an HTTPS sub/domain for use with this project, set the paths for KEY_PATH and CERT_PATH in your .env. If you do not have a TLS cert/key for your domain, you can get one for free from certbot.

Contributors ✨

Thanks goes to these wonderful people:


Brian Folts
All the things

Vincent Moreau
Venus, Prelude, Hellas & Elysium, Colonies, Turmoil

alrusdi
Front End

Simeon Simeonov
UX, cards and Colonies design

Pierre Hilbert
Turmoil and helps with the things

nwai90
Helps with the things

Ross Jacobs
He did that one thing one time

About

Terraforming Mars Boardgame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.4%
  • Less 4.4%
  • Other 0.2%