kaashif / wotr-card-game-python

Python implementation of the War of the Ring Card Game
GNU General Public License v3.0
0 stars 0 forks source link

Add machine-readable logs and random seed to reproduce games #7

Open kaashif opened 9 months ago

kaashif commented 9 months ago

Goal here is to generate many games with random/trained AIs playing and be able to regenerate the game state from logs to see what was going on.

Any randomness should be deterministic given a seed (e.g. shuffling decks).

There should be a machine-readable logs mode where the logs are in e.g. JSON logging the minimal information required to reconstruct the game state i.e. decisions made by players.