Getting started with Game-Box

Game Box is a library for game server base on EzyFox Server, it provides some feature:
  1. Player management
  2. Room management
  3. Virtual World and MMO Room for MMO games
  4. Some math objects and functions
In this tutorial, we are going to create our very first project that uses the game-box library.

1. Create a new project

You can look at this guide

2. Add game-box dependency

Find the latest version of game-box at https://github.com/youngmonkeys/game-box
Add dependency to [PROJECT_NAME]-app-api/pom.xml:
<dependency>
    <groupId>com.tvd12</groupId>
    <artifactId>game-box</artifactId>
    <version>1.1.6</version>
</dependency>
Then, reload maven projects

3. Run project

Run file [PROJECT_NAME]-startup/src/main/java/org/example/ApplicationStartup.java
The log should look like:
Congratulations! You are now ready to start your online game development journey 🎆 

4. Example

You can take a look EzySmashers, a MMO demo game build from EzyFox Server, Unity and Game Box.

Next step

You can take a look Player Manager.