Giter Site home page Giter Site logo

elojah / game_01 Goto Github PK

View Code? Open in Web Editor NEW
24.0 6.0 2.0 5.25 MB

Scalable MMORPG game server based on entity control

License: GNU Affero General Public License v3.0

Makefile 2.12% Go 97.21% Dockerfile 0.67%
golang game-development server ddd udp redis redis-cache redis-pubsub actor domain-driven-design scalable microservice redis-cluster mmorpg mmo mmorpg-server

game_01's Introduction

alt text

GAME_01

WORK IN PROGRESS

CircleCI

GAME_01 is a multi services scalable MMORPG server

GAME_01 wraps all backend services required for game_01.

Installation

OS X & Linux & Windows:

go get -u github.com/elojah/game_01

Development setup

# Start services
docker-compose -d
# TODO run integration

Usage example

TODO For more examples and usage, please refer to the [Wiki][wiki].

Release History

  • 0.0.1
    • Achilles - Work in progress
  • 0.0.2
    • Agni - Basic features

See trello for more informations.

How it works

|client| <-udp with ack-> |api| -redis pubsub-> |core| -> |redis|
|redis| -ticker-> |sync| -udp without ack-> |client|

Authentication and char creation/connection is handled by auth and associate a session token at each signin. revoker regularly revokes unused tokens. GAME_01 also comes with a tool API to create world data like entities/abilities/sectors.

Code architecture

 _bin #executables
|
|_cmd_ #executables code
|     |_api #UDP API for game events + ACK client
|     |_auth #HTTPS JSON API for signin/connect
|     |_client #client/server to communicate with API and JSON serialize
|     |_core #order and apply game events
|     |_integration #test integration runner
|     |_revoker #revoke unused tokens
|     |_sync #send entity data to clients
|     |_tool #HTTPS JSON API for world data. Must be private.
|
|_configs #config files
|
|_docker #docker files
|
|_pkg_ #common code
|     |_ability_ # domain
|     |         |_svc # service/usecases
|     |         |_srg # storage/database
|
|_static #example template files for tool
|
|_vendor #vendoring packages (dep)

Meta

Elojah โ€“ [email protected]

Distributed under the GNU AFFERO GENERAL PUBLIC license. See LICENSE for more information.

https://github.com/elojah/

game_01's People

Contributors

elojah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jhhe66 wahello

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.