Giter VIP home page Giter VIP logo

game_server's Introduction

game_server

Simple Game Server Code

项目编译

rebar get-deps compile

协议文件生成

rebar proto

发布服务器版本

cd rel && rebar generate

服务器配置

config/game.config

启动服务器

./rel/game/bin/game console

目录说明:

1. proto_define   protobuffs协议定义目录
2. plugins        rebar插件目录,目前只有proto插件生成协议路由文件和protobuffs解析文件
3. src	          项目源代码
4. src/data       项目的配置文件目录(插件data_generator 生成, 暂未公开,具体项目不同实现)
5. src/proto      protobuffs路由和解析文件(插件proto_generator 生成)
6. src/sys        系统相关代码,热更新,dbg调试,轻量级日志模块(基于error_logger),动态编译,profile日志
7. src/handle     客户端协议处理模块
8. src/map        地图模版逻辑代码实现
9. src/proc       游戏进程实现

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.