Write and code unit tests for transitioning between game states.
Tests should load a game with a predetermined game state (use a saved text/json file), perform some actions, and verify if the game state is at the correct ending state following the actions (serialize to json and verify/compare with existing game state struct).
Write and code unit tests for transitioning between game states.
Tests should load a game with a predetermined game state (use a saved text/json file), perform some actions, and verify if the game state is at the correct ending state following the actions (serialize to json and verify/compare with existing game state struct).