You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a group of C++ classes that implement the reinforcement phase following the official rules of the game of
Risk. In the reinforcement phase, the player gets a number of armies (A) to place on its countries, where A is:
Number of countries owned on the map, divided by 3 (rounded down), with a minimum of 3.
Continent-control value of all continents totally controlled by that player.
Armies resulting in card exchange, if possible. If a player owns more than 5 cards, it must exchange
cards (exchanging cards should be done inside the Hand’s exchange() method).
The player must then place all these armies on some of the countries it owns, as it sees fit (for now, it does not
matter which). You must deliver a driver that demonstrates that 1) a player receives the right number of armies in
the reinforcement phase (showing different cases); 2) the player has effectively placed this exact number of new
armies somewhere on the map by the end of the reinforcement phase.
The text was updated successfully, but these errors were encountered:
Provide a group of C++ classes that implement the reinforcement phase following the official rules of the game of
Risk. In the reinforcement phase, the player gets a number of armies (A) to place on its countries, where A is:
Number of countries owned on the map, divided by 3 (rounded down), with a minimum of 3.
Continent-control value of all continents totally controlled by that player.
Armies resulting in card exchange, if possible. If a player owns more than 5 cards, it must exchange
cards (exchanging cards should be done inside the Hand’s exchange() method).
The player must then place all these armies on some of the countries it owns, as it sees fit (for now, it does not
matter which). You must deliver a driver that demonstrates that 1) a player receives the right number of armies in
the reinforcement phase (showing different cases); 2) the player has effectively placed this exact number of new
armies somewhere on the map by the end of the reinforcement phase.
The text was updated successfully, but these errors were encountered: