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

Fix AI Movement - Zappy AI #254

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Fix AI Movement - Zappy AI #254

merged 1 commit into from
Jun 22, 2024

Conversation

Marius-P1
Copy link
Collaborator

@Marius-P1 Marius-P1 commented Jun 22, 2024

I've taken back the changes to the AI's movements to remove the bug that caused the AI to move in the wrong direction when looking for food or stones.

@Marius-P1 Marius-P1 added the bug Something isn't working label Jun 22, 2024
@Marius-P1 Marius-P1 self-assigned this Jun 22, 2024
@Marius-P1 Marius-P1 linked an issue Jun 22, 2024 that may be closed by this pull request
Copy link
Member

@theophile-jr theophile-jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The real fix is line 706 Player.py : For i in range(abs(x))...
However project's deadline is tomorrow so we will just revert.

@Marius-P1 Marius-P1 merged commit 1e0842b into main Jun 22, 2024
4 checks passed
@Marius-P1 Marius-P1 deleted the fix/ai-movement-bug-zappy-ai branch June 22, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix AI movement bug - Zappy AI
3 participants