代码拉取完成,页面将自动刷新
A lightweight online game framework written in Java. The project just shows some simple logic examples, the most imporant is to provide most of the base functions for rapid game development. You only need to focus on game logic then. The project use maven to manage jar dependency and build project
jforgame
├── jforgame-common --base common service
├── jforgame-admin --game admin web tool
├── jforgame-match --cross matching service
├── jforgame-net --including io message codec, message request mapper, message thread model
├── jforgame-orm --use a lightweight tool for conversion between pojo and database asynchronously
├── hotswap-agent --support hotswap without restarting server
├── jforgame-server
| ├── cache package, use guava cache to support players cache system
| ├── db package, use a independent thread pool to save players' and common data asynchronously
| ├── monitor package, to monitor game service,currently, we'll use jmx to manage game server
| ├── listener package, event driver model
| ├── doctor package, there are two ways for u to hotswap class
| ├── game/gm pakcage, gm command for test
| ├── game/admin package, http admin command for system
| ├── redis package, cross-server communication, such as multiserver ranking list
| ├── tools pakcage, little tool to support project's development
| └── utils package, code utils
Name | Purpose | Official website |
---|---|---|
Mina | nio socket framework | http://mina.apache.org/ |
jprotobuf | message codec | https://github.com/jhunters/jprotobuf |
Guava | pojo memory cache | https://github.com/google/guava |
Jedis | redis memory cache | https://redis.io |
quartz | job task scheduler | http://www.quartz-scheduler.org/ |
groovy | class hotswap | http://www.groovy-lang.org/ |
proxool | mysql data pool | http://proxool.sourceforge.net/ |
slf4j+log4j | logging system | https://www.slf4j.org/ |
maven | manage jar dependency, build project | http://maven.apache.org/ |
Chinese wiki --> wiki
We are always looking for people to join us. If you have an issue, feature request, or pull request, let us know!
Many thanks for your stars!!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。