npm i mydog -g
ahuangege / mydog Goto Github PK
View Code? Open in Web Editor NEWtypescript编写的分布式游戏服务器框架(a distributed game server framework coded by typescript)
Home Page: https://www.mydog.wiki
License: MIT License
typescript编写的分布式游戏服务器框架(a distributed game server framework coded by typescript)
Home Page: https://www.mydog.wiki
License: MIT License
npm i mydog -g
1、pomelo有个cli工具,pitaya也有,可以模拟客户端向服务器发送消息,mydog未来最好也有这个工具,非常方便服务器调试检查消息。
2、热更新及教程
还是只能部署到一台服务器上
/**
* Callback
*/
callBack(client, cmd, reqId) {
let self = this;
return function (msg) {
if (msg === undefined) {
msg = {
"reqId":reqId
};
} else {
msg.reqId = reqId
}
let buf = self.app.protoEncode(cmd, msg);
client.send(buf);
};
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.