0.2 - current stable version.
- Java 1.8 is required to run the game.
- java program must be in $PATH.
- Download binary distrib from here: trpg-distr-0.2.zip
- Unpack
- run trpg.sh
Use --help to see all available command line parameters
- java 1.8 is required
- maven 3.x
- both java and mvn programs should be in $PATH
- git clone [email protected]:beolnix/trpg.git
- mvn clean install
- unpack ${project.basedir}/target/trpg-distr-${project.version}.zip
- run trpg.sh
Project consist of the following modules
- args-parser - module for command line arguments parsing and it nicely prints help
- game-engine - the game itself
- trpg-distr - module packs and assembles distr of the game. It creates zip archive basically.
It is the entry point. App class reads command line arguments, loads the game from file if it is required and launches com.beolnix.trpg.gameplay.GameScenario class.
The class describes how the game should go step by step. The game itslef is just sequence of Scenes launched by GameScenario one by one.
Each screen in the game defined as the implementation of this interface and Used in GameScenario.
Each Scene must extend this archetype to correctly work with the Terminal
Used as the abstraction layer to simplify testing of the Scenes
Main Interface of the module. Used to register supported command line arguments and to process the input.
Creates game distr as a zip archive packed with game-engine and bash script. Automatically corrects project version number in the bash script.