$ python makefleet.py
Input your fleet name, the number of ships, and the filename. You can edit this file in any text editor.
Special Case: If you have pre-battle hits, ongoing hits from a source your ships don't account for, there are two lists of integers you can use. Inside your fleet file, you want to change the value for either 'Initial Strikes' or 'Extra Hits' from its default of empty, [], to whatever dice rolls you expect. For example, if you want to add two strikes from PDS, then change 'Initial Strikes' from [] to [6,6]
xxx This still doesn't account for the 'reroll on fail' ability that some fleets and PDS can have. SPECIAL CASES AHHHHGGGHHH. xxx
$ python twilight.py fleets/example-fleet-1 fleets/example-fleet-2
(you can leave the .json extension in and use tab completion if you wish)
This will run the application on the example fleets, which you can modify as you wish or use as templates and rename.
Each fleet has one of two modes: protect or sustain
Sustain mode means that any sustained damage will be taken before fleets begin taking losses. This should be your default mode.
Protect mode means that sustained hits will only be used after all ships that do not sustain damage are destroyed. This is useful when your opponent has a action card to immediately destroy a ship that you have sustained damage on. This feature might not be perfect, as you might want to sustain hits on war suns and capital ships but not dreadnoughts, depending on the language of the card.