Skip to content

SheauhawJang/sgs

 
 

Repository files navigation

SGS (三国杀)

Getting Started

  1. Clone this repo:
$ git clone [email protected]:donle/sgs.git <working_directory>
  1. Install dependencies:
$ cd <working_directory>
# cnpm is recommended if you're in China.
$ npm install
$ cd src/server
$ npm install
$ cd ../ui/platforms/desktop
$ npm install
  1. Running. You need to start the server and client respectively.
# cwd is <working_directory>
# Start server
$ cd src/server
$ npm run dev #dev:win if you're using Windows.
# Start client
$ cd ./ui/platforms/desktop
$ npm run start:mac #start:win if you're using Windows.

Configuration

You may configure how the clients and server execute and communicate.

edit src/server/server_config.ts to configure the server edit src/ui/platforms/desktop/src/client.config.ts to configure the web client

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.6%
  • JavaScript 2.7%
  • CSS 2.5%
  • HTML 0.2%