Easily set up and roll Twilight Imperium 4 combat dice.
Details and How to Use:
- Dice are grouped by unit combat values (9, 8, 7, etc.).
- To add a die, tap the right part of a line; to remove one, tap the left part.
- Tap the dice button at the bottom of the screen to roll all dice.
- The app displays each die result, the number of hits in a set, and the total hits.
- Tap the hits number to view a table showing all hit probabilities based on the rolled dice.
- Swipe left or right to choose between 5 different color schemes.
- Each color scheme has its own set of dice, which are useful for rolling both defense and attack on the same device.
Requirements:
# Clone the repository
git clone https://github.com/adrianocola/ti4-combat-roller
# Change to the project directory and install dependencies
cd ti4-combat-roller
npm install
# Copy the app.json.sample file to app.json and fill in the required fields
cp app.json.sample app.json
# Copy the .env.sample file to .env.local and fill in the required fields
cp .env.sample .env.local
# Run the app in the simulator
npm run ios # or
npm run android