GithubHelp home page GithubHelp logo

puredu / buzz-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonyhack/buzz-server

0.0 1.0 0.0 4.35 MB

buzz server is a multi-online game server.

CMake 1.39% Shell 0.14% Python 2.87% SQLPL 0.16% Makefile 0.16% C++ 89.19% C 0.01% Thrift 6.07%

buzz-server's Introduction

This project is named "buzz", this is a online-game server.

1. Required packages:

  CMake 2.6
  g++ 4.x
  boost >= 1.48
  mysql++ >= 3.0.9
  thrift >= thrift-0.8.0
  mysql >= 5.0.95
  Linux kernel >= 2.6.18


2. Directory description:

  .
  |- doc    # document directory.
  |- generate   # generate directory.
     |- build       # build directory, we use external building by cmake.
     |- configure   # configure files directory.
     |- sql         # sql directory, some sql script files.
     |- work
  |- src:   # source code directory.
     |-core               # core source code directory.
     |-coresh             # core source code shell directory, this make a "multi-thread network, single-thread logic" server model.
     |-database_server    # database proxy server source code directory.
     |-entity             # entity define source code directory.
     |-game_server        # game server source code directory.
     |-gateway_server     # gateway server source code directory.
     |-global             # global source code directory.
     |-schedule_server    # schedule(or center) server source code directory.
     |-session_server     # session server source code directory.
     |-test               # test source code directory.


3. Build:

  $ cd generate/build
  $ cmake ../..
  $ make

  You can build a release/debug version with:
  $ cmake -DCMAKE_BUILD_TYPE=Debug/Release ../..


4. Run:

  First to configure the server in directory "./configure", second do as the follow:

  $ cd generate/work
  $ ./start.sh

  Maybe you have to run the order - "chmod +x ./start" before to run "start.sh".

buzz-server's People

Contributors

tonyhack avatar

Watchers

 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.