gsmlib
gsmlib
gsmlib or game state manager lib is a simple library that allows for the managment of game states. These game states can be buffered by using the BufferedGameStateManager in conjuction with a IDataSource.
Getting Started
Prerequisites
Java 11 SDK should be installed on your local machine. Maven should be installed on your local machine.
Installing
You can install this using maven with the following maven configuration
In your .m2
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>github</id>
<name>Jeffrey Riggle Apache Maven Packages</name>
<url>https://maven.pkg.github.com/JeffreyRiggle/gsmlib</url>
</repository>
</repositories>
</profile>
</profiles>
<servers>
<server>
<id>github</id>
<username>USERNAME</username>
<password>TOKEN</password>
</server>
</servers>
</settings>
In your pom file
<dependency>
<groupId>com.ilusr.GSMLib</groupId>
<artifactId>gsmlib</artifactId>
<version>2.0.7</version>
</dependency>
For more information on github packages see the documentation.
Building
In order to build this simply run mvn build
on the root folder.
Testing
In order to test this simply run mvn test
on the root folder.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.