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

Add eatClosestPill behavior #25

Open
ll-nick opened this issue Jul 10, 2024 · 1 comment
Open

Add eatClosestPill behavior #25

ll-nick opened this issue Jul 10, 2024 · 1 comment
Assignees
Labels
demo Concerns the project's demonstration high priority High priority, fix ASAP

Comments

@ll-nick
Copy link
Collaborator

ll-nick commented Jul 10, 2024

No description provided.

@ll-nick ll-nick added the demo Concerns the project's demonstration label Jul 22, 2024
@ll-nick ll-nick changed the title Demo: Add eatClosestPill behavior Add eatClosestPill behavior Jul 22, 2024
@ll-nick ll-nick added the high priority High priority, fix ASAP label Jul 22, 2024
@orzechow
Copy link
Member

Maybe we should do sth like a breadth search, starting from PacMan position until a pill is found → this will be the closest.

Other approaches we thought of until now, need some search tree/cache which would invalidate with each move of PacMan 😕

@ll-nick ll-nick self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo Concerns the project's demonstration high priority High priority, fix ASAP
Projects
None yet
Development

No branches or pull requests

2 participants