flavji / digitalRisk

0 stars 0 forks source link

The Game is very incomplete it is missing alot of rules/features or performing incorrect logic #26

Closed MohamedZalat closed 3 years ago

MohamedZalat commented 4 years ago

The game needs to show the number of troops in each country at all times instead of only after clicking the attack button. The countries should also show an indication of which player owns the country at all times.

The attack logic is in correct. A player should just perform a single attack turn and lose 1/2 armies in the process depending on the number of die rolls of the defence and the attack. Read the rules of the game and re-implement the attack method. If an attacker is successful at the end of an attack they should be prompted on how many troops they want to move (make sure you follow the rules on how many can be moved). Also, you do not prompt the defending player on how many troops (die) they want to use.