This PR adds score extraction for TextWorld's games. This is done by parsing the header provided by frotz (e.g. -= Bedroom =-2/7 where 2 is the score and 7 is the moves count).
This PR also replaces the error message printed when loading an unsupported game with a warning message instead.
Finally, this PR adds two unit tests testing the aforementioned changes.
This PR adds score extraction for TextWorld's games. This is done by parsing the header provided by frotz (e.g.
-= Bedroom =-2/7
where 2 is the score and 7 is the moves count).This PR also replaces the error message printed when loading an unsupported game with a warning message instead. Finally, this PR adds two unit tests testing the aforementioned changes.