Refactor the code that determines if a wall was hit.
Refactor.
Do not get aimless tank stuck on a wall.
Refactor duplicate code.
Refactor.
Add default applicable status.