Is your feature request related to a problem? Please describe.
Currently, there is no way to collect all game_states. This is useful in debugging, so it must be added.
Describe the solution you'd like
[x] Implement collect_all_game_states. Search for collect_all_ to peek how to do so
[x] Activate this test and make it pass:
//#define FIX_ISSUE_578
#ifdef FIX_ISSUE_578
//Can collect all game states
{
const std::vector<game_state> v = collect_all_game_states();
assert(v.empty());
}
#endif //FIX_ISSUE_578
Activate it by removing the comments from //#define FIX_ISSUE_578
Is your feature request related to a problem? Please describe.
Currently, there is no way to collect all
game_state
s. This is useful in debugging, so it must be added.Describe the solution you'd like
[x] Implement
collect_all_game_states
. Search forcollect_all_
to peek how to do so[x] Activate this test and make it pass:
Activate it by removing the comments from
//#define FIX_ISSUE_578
#
linesDone!
Describe alternatives you've considered
None.
Additional context
None.