View on GitHub

ti4-cartographer

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

View on GitHub.io · View on GitHub.com

Board Layouts · Setup · Usage · Documentation · License

build and test

Board Layouts

(Back to Top)

Board Layout: 2 Players Regular

5 planetary systems and 3 anomaly/wormhole/empty systems per player. This board layout has 67% more planets per player than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 2 --layout regular

2 Players Regular

(Back to Board Layouts)

Board Layout: 3 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 3 --layout regular

3 Players Regular

(Back to Board Layouts)

Board Layout: 3 Players Small

3 planetary systems and 2 anomaly/wormhole/empty systems per player. This board layout has home systems closer to Mecatol Rex than normal but further away from each other than normal, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 3 --layout small

3 Players Small

(Back to Board Layouts)

Board Layout: 3 Players Large

5 planetary systems and 3 anomaly/wormhole/empty systems per player. This board layout has 67% more planets per player than normal and has home systems much further away from each other than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 3 --layout large

3 Players Large

(Back to Board Layouts)

Board Layout: 4 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 4 --layout regular

4 Players Regular

(Back to Board Layouts)

Board Layout: 4 Players Small

3 planetary systems and 2 anomaly/wormhole/empty systems per player, with 1 additional planetary system and 1 additional anomaly/wormhole/empty system. This board layout has home systems further away from each other than normal, so --aggression high and playing to 10 victory points are recommended.

ti4cartographer --players 4 --layout small

4 Players Small

(Back to Board Layouts)

Board Layout: 4 Players Large

5 planetary systems and 3 anomaly/wormhole/empty systems per player. This board layout has 67% more planets per player than normal and has home systems further away from each other than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 4 --layout large

4 Players Large

(Back to Board Layouts)

Board Layout: 5 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 5 --layout regular

5 Players Regular

(Back to Board Layouts)

Board Layout: 5 Players Small

3 planetary systems and 2 anomaly/wormhole/empty systems per player. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 5 --layout small

5 Players Small

(Back to Board Layouts)

Board Layout: 5 Players Large

4 planetary systems and 2 anomaly/wormhole/empty systems per player, with 1 additional anomaly/wormhole/empty system. This board layout has 33% more planets per player than normal, so --aggression high and playing to 12–14 victory points are recommended.

ti4cartographer --players 5 --layout large

5 Players Large

(Back to Board Layouts)

Board Layout: 6 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 6 --layout regular

6 Players Regular

(Back to Board Layouts)

Board Layout: 6 Players Large

6 planetary systems and 3 anomaly/wormhole/empty systems per player. Requires the Prophecy of Kings Expansion. This board layout has twice as many planets per player than normal and has home systems further away from Mecatol Rex than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 6 --layout large

6 Players Large

(Back to Board Layouts)

Board Layout: 7 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 7 --layout regular

7 Players Regular

(Back to Board Layouts)

Board Layout: 7 Players Small

4 planetary systems and 2 anomaly/wormhole/empty systems per player, with 1 additional planetary system and 1 additional anomaly/wormhole/empty system. Requires the Prophecy of Kings Expansion. This board layout has 38% more planets per player than normal and has home systems further away from Mecatol Rex than normal, so --aggression high and playing to 12–14 victory points are recommended.

ti4cartographer --players 7 --layout small

7 Players Small

(Back to Board Layouts)

Board Layout: 7 Players Large

4 planetary systems and 2 anomaly/wormhole/empty systems per player, with 3 additional planetary systems and 2 additional anomaly/wormhole/empty systems. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout has 48% more planets per player than normal and has home systems further away from Mecatol Rex than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 7 --layout large

7 Players Large

(Back to Board Layouts)

Board Layout: 8 Players Regular

3 planetary systems and 2 anomaly/wormhole/empty systems per player. Uses hyperlanes. Requires the Prophecy of Kings Expansion. This board layout is well balanced, so --aggression moderate and playing to 10 victory points are recommended.

ti4cartographer --players 8 --layout regular

8 Players Regular

(Back to Board Layouts)

Board Layout: 8 Players Large

4 planetary systems and 2 anomaly/wormhole/empty systems per player, with 2 additional planetary systems and 2 additional anomaly/wormhole/empty systems. Requires the Prophecy of Kings Expansion. This board layout has 42% more planets per player than normal and has home systems further away from Mecatol Rex than normal, so --aggression high and playing to 14 victory points are recommended.

ti4cartographer --players 8 --layout large

8 Players Large

(Back to Board Layouts)

Setup

The following packages are required:

Build the programs with:

mkdir build
cd build
cmake ..
make -j

This builds the main program, build/bin/ti4cartographer, as well as the build/bin/ti4atlas utility.

You can optionally run tests from the build directory with:

make test

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

sudo make install

This installs the programs to /usr/local/bin/ti4cartographer and /usr/local/bin/ti4atlas. To uninstall a program, simply delete it.

(Back to Top)

Usage

The ti4cartographer program computes an optimal board and outputs its Tabletop Simulator string. Run ti4cartographer with no arguments or with the --help argument to obtain usage information. Otherwise, for regular use, run ti4cartographer with:

ti4cartographer  --players <number>  --layout <type>  --aggression <type>  --version <type>  --quiet

The ti4atlas utility takes no arguments and simply prints out a list of the various systems ranked from best to worst. This ranking only takes into account the individual systems by themselves, and does not account for position on the game board, balance of planets, resources, and influence, suitability as a forward outpost, or other interactions; such considerations are handled by the ti4cartographer program.

(Back to Top)

Documentation

Building the documentation is optional and requires additional packages:

Documentation is 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)