Skip to content

Latest commit

 

History

History
executable file
·
47 lines (40 loc) · 2.18 KB

README.md

File metadata and controls

executable file
·
47 lines (40 loc) · 2.18 KB

Overview

  • Online multiplayer game based on board Settlers of Catan.
  • Web app. All JS.
  • Tech stack:
    • Front end: Vue, Jquery, SVG
    • Caching: Redis
    • DB: MongoDB
    • Real time Communication: Socket.io (Web Socket)
    • Back end: Node.js

Setup

Start server

Make sure Redis is running locally on port 6379, then simply cd to project directory, and

$ npm start

Test

  • Log in/ Sign up
  • Then you should be able to see the game lobby. You can join an existing game (if there is one in the lobby), or start a new game (continued saved game is not supported now). lobby
  • Once there are 3 ~ 4 players, game starts. (So you may need to log in with 3~4 different accounts in different broswers.)
    • Click on vertice to build a settlement/ upgrade existing setterment.
    • Holding Ctrl, click two adjacent vertices to build a road or ship.
    • Click on Finish to finish the game. waiting p1 p2 p3 p4

Document

  • Check out Wiki if you have question about communication pattern and socket event tags.