Git Product home page Git Product logo

stone's Introduction

Stone

a game server engine( YO YO YO! Click me, biatch !

  1. how to run ?

at first, i will tell how to run the mmo game demo which makes by the Stone engine.

  1. execute the stone.sqlwhich in db project,then you can create the mmo's database.

  2. call the Launcher.java's main method which in launcher project,then you can start the ServerGroup.

  3. before this step, the ServerGroup is stared.at this time, you have to chooses:first to use bot project to run scala robot to connect to the server.second to use Dick client engine,by the way, Dick is also an amazing client engine, you can have try.

  4. framework


  • core.this is the most important part of the engine,almost the whole framework codes are at here.

  • proto.this is the proto between client and server,i use google's protobuf to support this.

  • tools.do some tools things,for example generate the Template class.

  • test.all the engine test cases are at here.

  1. mmo

when i have finished write 70 percent of the engine,i begin to write a example to prove this is a amazing engine. and i choose to write a mmo game.

  • bot.this is the robot framework,i use scala to write it, and it use for pressure test.by the way, i must say that scala is fucking amazing!

  • agent package. this is the external session manager server.

  • game package. this is the logic server.

  • world package. this is the center server.

  • data package. this is the data server.

now, what's the progress?

  • you can do create account, login, create role, select role and enter scene things.

TODO

  • template engine: mabe i will use velocity.
  • db human sub entity.
  • data layer use cache.
  • routing logic.
  • balance.
  • robot pressure test, and make the test doc.
  • all the framework use akka,use remote and cluster.

cn

  1. 模板层的设计,使用velocity或者freemaker之类的模板引擎,还有一种方案就是用scala去定义DSL,然后使用DSL来做这个事情?

  2. 数据层的详细设计,子实体?缓存?落地策略?

  3. 路由逻辑,以及负载均衡

  4. 多服架构的逻辑,Gate + Login + Game,如何实现透明化的scale out?可以参考pomelo和skynet

  5. robot压测文档

stone's People

Contributors

crazyjohn avatar

Watchers

James Cloos avatar cmlanche 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.