Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop goalie from scoring an own goal #13

Open
pilkiad opened this issue Jan 14, 2025 · 0 comments
Open

Stop goalie from scoring an own goal #13

pilkiad opened this issue Jan 14, 2025 · 0 comments

Comments

@pilkiad
Copy link

pilkiad commented Jan 14, 2025

The problem

On some occassions upon receiving the ball the goalie will turn around and kick it into its own goal.
This behaviour does not appear appear 100% of the time, currently it seems almost random.

The reason

This is obviously counterproductive, since scoring own goals should be easily preventable and will help the enemy team immensely.

The solution

We intend to implement a check for all execution of kick actions that the player shall never kick the ball into the direction of their own goal if they are to close to it.

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

No branches or pull requests

1 participant