This repository supports a series of blog posts on my blog.
The main branch is regularly updated to reflect the latest progress and will eventually contain the complete project. You can check out different tags to access demos from specific episodes.
- Clone the repository:
git clone https://github.com/lizhiyu-me/Make-a-multiplayer-card-game.git
cd Make-a-multiplayer-card-game
- Install dependencies:
npm install
- Start the server:
npm run start-server
- Choose a front-end implement, e.g.
react
(Cocos Creater and react-three-fiber are also supported):
cd client/view-engine/react/doudizhu
- change the
ip
inglobalConfig.ts
to your server ip
- Start server and client
npm run start
open two browser tabs to begin the game.