https://github.com/leancloud/rps-game
A ClientEngine sample game
https://github.com/leancloud/rps-game
client-engine stateful-game
Last synced: about 1 year ago
JSON representation
A ClientEngine sample game
- Host: GitHub
- URL: https://github.com/leancloud/rps-game
- Owner: leancloud
- Created: 2019-02-27T06:36:42.000Z (about 7 years ago)
- Default Branch: rps
- Last Pushed: 2023-12-25T12:16:37.000Z (about 2 years ago)
- Last Synced: 2025-01-09T10:33:04.261Z (about 1 year ago)
- Topics: client-engine, stateful-game
- Language: TypeScript
- Homepage: https://rpsgame.cn-e1.leanapp.cn/
- Size: 975 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Client Engine Node.js Getting Started
----
LeanCloud Client Engine 服务端示例项目(Node.js)
### 本地开发
**Server**
```bash
DEBUG=ClientEngine*,StatefulGame* lean up
```
**Client**
```bash
lean up --cmd "npm run dev:client" -p 4000
```
Then open http://localhost:4000.
### 生产环境
**Build**
```bash
npm run build
```
**Serve**
```bash
npm start
```