Git Product home page Git Product logo

mahjong-3's Introduction

mahjong Build Status

这是一款基于 asio 并使用现代 C++ 语言风格编写的轻量级(游戏)服务器引擎,客户端通过简单的约定协议就能与服务端交互。

目标

  • 目标 1:简单易用,不仅仅针对网络游戏;

  • 目标 2:使得开发者无需重复的实现一些(游戏)服务端通用的底层技术,将精力真正集中到应用(游戏)开发层面上来,快速的打造各种网络应用(游戏);

  • 目标 3:高并发、高性能、高可用。

Engine 配置文件

Build

$ git clone --branch=develop https://github.com/DD-L/mahjong.git mahjong
$ cd mahjong
$ git submodule update --init --recursive
$ ./build.sh # 因为要释放 boost, 所以第一次 build 可能会有些慢

现已完成的

目前完成的工作有限:

  • 引擎部分
    • 异步事件驱动器
      • asio 异步事件驱动
    • 底层通信封装
      • 网络I/O
      • 底层协议
      • heartbeat/keepalive
      • EServer
    • 客户端会话管理
      • 基于uuid 的 session
      • session_manager
  • mahjong demo
    • connection
    • session
    • handler_test
  • 客户端网络通信共享库
    • 与客户端的 C# 交互
  • 其他
    • 日志库
    • program_options
    • json/config
    • exceptions
    • ...

尚未结束的

  • Unity3D demo(35%)
  • DBMgr
  • UsersMgr
  • Python Script(对热更新的支持)
  • docker 支持
  • crypto
  • udp
  • ...

该项目网络部分和其它一小部分借鉴了 lproxy

mahjong-3's People

Contributors

dd-l 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.