Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main game loop: reinforcement phase #17

Closed
benrs opened this issue Sep 30, 2017 · 0 comments
Closed

Main game loop: reinforcement phase #17

benrs opened this issue Sep 30, 2017 · 0 comments
Assignees
Milestone

Comments

@benrs
Copy link
Collaborator

benrs commented Sep 30, 2017

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.

@benrs benrs added this to the Iteration 2 milestone Sep 30, 2017
@pbgnz pbgnz self-assigned this Oct 4, 2017
pbgnz added a commit that referenced this issue Oct 22, 2017
@pbgnz pbgnz closed this as completed Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants