When fixing the GameEngine main game loop, there's a bug when adding territories to the players (in a test function, and not in the real start up).
The method Territory::getOwner should not assign a territory to the player.
Modification done: Removed the line p->addTerritories({this});
TODO: The startUp needs refactoring before merging with the main game play method.
When fixing the GameEngine main game loop, there's a bug when adding territories to the players (in a test function, and not in the real start up). The method Territory::getOwner should not assign a territory to the player.
Modification done: Removed the line
p->addTerritories({this});
TODO: The startUp needs refactoring before merging with the main game play method.