View on GitHub

ti4-echelon

Leaderboard generator for the Twilight Imperium 4th Edition board game by Fantasy Flight Games.

build and test

Setup · Usage · Games File · Factions · Documentation · License

Click here for an example of a leaderboard that uses this generator.

Setup

The following packages are required:

Build the program with:

mkdir build
cd build
cmake ..
make

This builds the build/bin/ti4-echelon program.

You can optionally run tests from the build directory with:

make test

You can optionally install the program from the build directory with:

sudo make install

This installs the program to /usr/local/bin/ti4-echelon. To uninstall the program, simply delete it.

(Back to Top)

Usage

Run with no arguments or with the --help argument to obtain usage information.

Otherwise, for regular use, run with:

ti4-echelon --games <path> --leaderboard <path>

(Back to Top)

Games File

The games file is a plain text file with the following format:

2021-07-31 free-for-all 10 8h35m
1st Alice 10 Winnu
2nd Bob 9 Xxcha Kingdom
3rd Carol 8 Clan of Saar
4th David 8 Universities of Jol-Nar
5th Erin 7 Empyrean
6th Frank 6 Argent Flight

2021-07-24 teams 14
1st Bob 15 Mentak Coalition
1st Alice 11 Titans of Ul
2nd Carol 13 Nomad
2nd Gabby 11 Mahact Gene-Sorcerers
3rd David 12 Yssaril Tribes
3rd Hugo 10 Arborec

etc.

(Back to Top)

Factions

The faction names in the games file are case-sensitive and must exactly match one of the following spellings:

Remarks:

(Back to Top)

Documentation

Building the documentation requires additional packages:

Documentation is optional and disabled by default but can be generated from the build directory with:

cmake .. -DBUILD_DOCS=ON
make docs

This generates HTML documentation using Doxygen. The documentation is located in docs/html. Open the docs/html/index.html file in any web browser to view the documentation.

(Back to Top)

License

This work is maintained by Alexandre Coderre-Chabot (https://github.com/acodcha) and licensed under the MIT License. For more details, see the LICENSE file or https://mit-license.org. This work is based on the Twilight Imperium 4th Edition board game by Fantasy Flight Games. The contents, copyrights, and trademarks of everything involving Twilight Imperium 4th Edition are exclusively held by Fantasy Flight Games; I make no claim to any of these in any way.

(Back to Top)