better usage

This commit is contained in:
Maximilian Keßler 2023-09-06 12:02:08 +02:00
parent 25c7a61d8e
commit dc340b2447
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -30,7 +30,14 @@ make // Rerun this every time you change source
```
# ./endgame-analyzer (GAME_ID | GAME_FILE) TURN
```
where `GAME_ID` is a game from hanab.live and `GAME_FILE` is a path to a file containing the game as JSON in the hanab.live format.
where
- `GAME_ID` is a game from hanab.live.
- `GAME_FILE` is a path to a file containing the game as JSON in the hanab.live format.
- `TURN` specifies the turn of the game state to analyze. Turn 1 is the state before actions have been taken.
Be cautious about specifying too low turn counts, your program will eventually run out of memory.
Typically, turn counts where roughly 8 cards are still in the draw pile are reasonably fast,
but running times depend heavily on the exact game state you want to analyze.
## License