dotnet / dotnet/dotnet-console-games
`Tanks` enemies shooting through walls if up against them
Open
bug
- Dominant language
- C#
- Stars
- 1k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
In the `Tanks` game, If the enemies move up against the walls and shoot, the bullet goes through the walls. I probably forgot to check if a bullet hits a wall when it spawns.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Tanks enemy shooting and bullet-spawn logic, then reproduce the issue with an enemy pressed against a wall. The fix is complete when bullets spawned in that position do not pass through the wall while normal shots still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100