patchwire:用于Node.js的多人游戏服务器框架 源码
跳线 Node.js的多人游戏服务器框架 安装 npm install patchwire 利用 // MyGameServer.js const Server = require ( 'patchwire' ) . Server ; const ClientManager = require ( 'patchwire' ) . ClientManager ; const gameLobby = new ClientManager ( ) ; gameLobby . on ( 'clientAdded' , function ( ) { gameLobby . broadcast (
文件列表
patchwire-master.zip
(预估有个13文件)
patchwire-master
.gitignore
40B
package.json
858B
package-lock.json
53KB
LICENSE.md
1KB
CONTRIBUTING.md
431B
index.js
149B
README.md
2KB
example
example.js
881B
暂无评论