Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jzyong/gameserver4j
Distributed Java game server, including login, gateway, game demo
https://github.com/jzyong/gameserver4j
game game-server grpc kafka mmo mmorpg-game mmorpg-server netty rpg server spring-boot zookeeper
Last synced: 22 days ago
JSON representation
Distributed Java game server, including login, gateway, game demo
- Host: GitHub
- URL: https://github.com/jzyong/gameserver4j
- Owner: jzyong
- License: mit
- Created: 2018-04-24T02:57:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T03:08:09.000Z (about 1 month ago)
- Last Synced: 2024-09-30T08:01:13.730Z (about 1 month ago)
- Topics: game, game-server, grpc, kafka, mmo, mmorpg-game, mmorpg-server, netty, rpg, server, spring-boot, zookeeper
- Language: Java
- Homepage: https://jzyong.github.io/GameServer4j/
- Size: 6.3 MB
- Stars: 288
- Watchers: 26
- Forks: 109
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Intro
Using Java, netty, zookeeper, spring boot and mongo, redis tools to development of game hot update distributed framework.
Clients to gateways use TCP custom protocols, Intranet message forwarding use GRPC forwarding,
all stateless services can be horizontally extended, and stateful services can be horizontally extended through partition, state binding and other rules.
The basic architecture of the project is shown below:![Architecture diagram](game-res/img/game_architecture.png)
## Module
1. Logical scripts that end with the project module at the end of `scripts` as the corresponding project can be hot-updated. [docker run](game-res/docker/local/DockerComposeRun.md)
* [game-common](game-common/README.md) Common logic code* [game-message](game-message/README.md) Protobuf message,grpc service
* [game-gate](game-gate/README.md) Message routing
* [game-api](game-api/README.md) Login authentication ,charge verify
* [game-hall](game-hall/README.md) Game Demo
* [game-manage](game-manage/README.md) Web background management, GM, etc
* [game-res](game-res/README.md) Server resource files, Docker scripts, documents, etc
* game-world: World service demo, pause## Technology select
1. spring-boot
2. mongodb
3. maven
4. netty
5. grpc
6. redis
7. zookeeper
8. kafka
[Document]( https://jzyong.github.io/GameServer4j/)
**QQ Communication group:** 143469012### TODO
* add microservice
* protobuf sync to GameServer4g
* world 开发
* 添加加载脚本和配置 maven插件