Skip to content

Conversation

@relsmoler
Copy link

Summary

Fixed bug: ships that were already destroyed will not be "revived" when bombed.

Details and comments

Implementation: updated the bomb array to mark destroyed ships. The relevant quantum operation then takes the ships state and number of bombs into consideration to calculate the ships current status.
If "reviving" already destroyed ships back to life when bombed was planned as a feature - feel free to ignore this suggested fix and close this PR.

@relsmoler relsmoler requested a review from aasfaw as a code owner January 25, 2020 17:04
@relsmoler relsmoler force-pushed the bugfix/battleships-engine-destroyed-ships branch from f2c5283 to 016e876 Compare January 25, 2020 17:11
@relsmoler relsmoler force-pushed the bugfix/battleships-engine-destroyed-ships branch from 016e876 to f0826dd Compare January 25, 2020 17:13
@relsmoler relsmoler changed the title destroyed ships will not be revived when bombed Destroyed ships will not be revived when bombed Jan 25, 2020
@relsmoler relsmoler requested a review from quantumjim January 25, 2020 17:24
@CLAassistant
Copy link

CLAassistant commented Mar 9, 2020

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants