An open API service indexing awesome lists of open source software.

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

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
```