Post whole days to the board

The shared service ranks on integer columns, so a patrol that ended with 9.4
days on the orders posts 9. The report screen still shows the tenth, which is
where it means something -- on a board it would be measuring the dice rather
than the captain.
This commit is contained in:
2026-09-08 23:56:21 -07:00
parent c00772058e
commit b2c6f1a65c
4 changed files with 16 additions and 5 deletions
+7 -1
View File
@@ -24,7 +24,13 @@ export interface Score {
name: string
/** Raiders destroyed. The rank, before any tie-break. */
killed: number
/** Days still on the orders when the patrol ended. */
/**
* Whole days still on the orders when the patrol ended.
*
* The game counts days to a tenth and the board ranks on integers, so this
* is the floor of what the report screen shows. A tie-break finer than a
* day would be measuring the dice rather than the captain.
*/
daysLeft: number
/** Torpedoes still in the racks. */
torpedoes: number