Giter VIP home page Giter VIP logo

chess_server's Introduction

open_poker_server

开源棋牌服务器框架,使用skynet

网络协议使用pbc版的protobuf

数据库使用mongodb

客户端代码地址: https://github.com/yuanfengyun/chess

房卡类的麻将服务器地址:https://github.com/yuanfengyun/mj_server

房卡类的麻将客户端地址:https://github.com/yuanfengyun/mj_client

服务器编译步骤:

1、下载源码

git clone https://github.com/yuanfengyun/chess_server.git

2、初始化submodule

cd chess_server

git submodule init

git submodule update

3、编译skynet

cd skynet

git submodule init

git submodule update

make linux

4、编译pbc

cd ../3rd/pbc

make

cd binding

cd lua53

修改一下Makefile文件,设置lua.h的路径

make

将protobuf.lua复制到根目录的lualib目录

protobuf.so文件复制到根目录的luaclib目录

5、编译proto文件

回到根目录

make

6、运行

. run.sh

chess_server's People

Contributors

yuanfengyun avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lishuaicq

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.