luying 6b809d1b2b Merge branch 'feature/login'
Conflicts:
	game-server/app/servers/role/handler/heroHandler.ts
	game-server/app/services/redisService.ts
	shared/consts/index.ts
	shared/resource/jsons/dic_zyz_gk_main.json
2021-03-08 11:04:09 +08:00
2021-03-08 11:04:09 +08:00
2021-03-04 15:34:02 +08:00
2021-03-08 11:04:09 +08:00
2021-03-08 09:54:03 +08:00
2020-09-11 15:24:49 +08:00
2021-03-04 15:34:26 +08:00
2021-03-04 15:34:26 +08:00
2021-03-04 15:34:02 +08:00

环境搭建

  • 安装 ts 环境 npm install -g tsc ts-node typescript
  • 安装 pinus npm install -g pinus

运行

简介

服务器主要分为游戏服和账号服,游戏服以长连接为主,处理主要的游戏逻辑。账号服以短连接为主,处理账号等功能。

运行游戏服

cd game-server && node tsrun.js

运行 web-server

cd web-server && node app

Description
No description provided
Readme 25 MiB
Languages
TypeScript 96.5%
JavaScript 3.1%
Shell 0.3%