代码拉取完成,页面将自动刷新
一个轻量级的游戏服务器框架,底层采用C++17编写,逻辑层采用Lua脚本。
git clone https://github.com/sniper00/moon.git get the Sources
需要使用premake生成工程文件, 下载最新的premake5
The project use of C++17 features, I tested compliers are:
Windows Platform:
premake5.exe vs2017
Linux Platform:
./premake5 gmake
#Debug
make
# Release
# make clean config=release_linux
# make config=release_linux
https://github.com/sniper00/BallGame
网络通信,websocket,协程socket示例
./moon 1
运行服务器非阻塞redis client, 默认连接 127.0.0.1 6379
./moon 2
服务间发送消息示例
./moon 3
./moon 4
call示例进程间发送消息示例
./moon 5
./moon 6
./moon 7
QQ交流群543833695
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。