Code Monkey home page Code Monkey logo

go-x's Introduction

go-x

Go游戏服务器框架

编译

  • linux

    build.sh
  • windows

    build.bat

    (build.bat中GOPATH是特殊路径,需要根据自己本地实际路径做修改)

完成的功能

  • Login服务器
  • Gateway服务器
  • Hub服务器

支持 kubernetes 部署

  • linux 直接支持 kubernetes 部署
  • windows 仅做单节点开发调试用

TODO

  • lobby使用例子

    • 客户端查询玩家基本信息,返回玩家名字
  • match匹配逻辑

  • room实现一个简单的场景

  • 其他

    • Gateway转发客户端消息时,附带上UID信息
    • uid-gatewayId 键值对加过期时间,且gate且gateway定时刷新它
    • session发送缓冲区[]byte不必频繁创建(gotcp优化)
    • 待续

go-x's People

Contributors

fananchong avatar

Watchers

James Cloos avatar yekoufeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.