带有node.js的状态机,用于MMO游戏
我在后端(node.js)上有几个问题。 我正在制作MMO游戏,我想在后端使用有限状态机。服务器通过JSON通过UDP与客户端通信。 (在客户上具有自编写的状态机) 哪种模式最适合MMO游戏服务器?如果您提供文档链接,我会很高兴。 我发现有一个“ Xstate”库。但是我不确定它在node.js上有多好。有人有经验吗?
I have a couple of questions about the state machine on back-end(node.js).
I am making an mmo game and I want to use finite state machine in the backend. The server communicates with the client via UDP with JSON. (On the client have self-written state machine)
Which pattern is best for mmo game server?I will be glad if you provide links to the documentation.
I found out that there is an "Xstate" library. But I'm not sure how good it is on node.js. Has anyone had experience with it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论