Closed this-yujunkim closed 1 week ago
The above error occurred by simply accessing the list. We are going to fix the bug by adding the distance calculation formula of the entities in the range(up, down, left, right) of the bomb.
The above error occurred by simply accessing the list. We are going to fix the bug by adding the distance calculation formula of the entities in the range(up, down, left, right) of the bomb.
Thank you for your reply! I am already excited to see this bug to be fixed. Make sure to close this issue when you send PR. Keep up the good work!
Bug fix version has been applied
[BUG] Bomb destroys ships far away
Summary
Bomb's logic is to destroy ships in their top, bottom, right, and left side. This bug causes bomb to destroy ships far away somehow.
TODO
https://github.com/user-attachments/assets/6ae34a7a-94a4-42b9-8e52-6beeb0af0779