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

Improving the ghost model #216

Closed
schrum2 opened this issue Jun 11, 2018 · 7 comments
Closed

Improving the ghost model #216

schrum2 opened this issue Jun 11, 2018 · 7 comments

Comments

@schrum2
Copy link
Owner

schrum2 commented Jun 11, 2018

Here are some ideas for improving the ghost model.

Based on the visualization, it looked to me as though after Pac man ate a ghost, her ghost model was trying to find where the ghost had gone still but this doesn't make sense.

We should also try to sense the ghosts as they leave the lair at the start

@schrum2
Copy link
Owner Author

schrum2 commented Jun 12, 2018

Other improvements: if an edible ghost enters the field of view and then leaves it, then Ms. Pac-Man needs to remember that the ghost was edible and keep chasing it.

@schrum2
Copy link
Owner Author

schrum2 commented Jun 21, 2018

Please provide an update on the state of this issue. What can Pac-Man currently sense about the ghosts? Is there anything left that we would still like to sense?

@Squillyprice01
Copy link
Collaborator

I am going to try to add a way of approximating a sense that the ghosts have left the lair. Another thing that would be good to add would be if pacman senses a threat ghost but eats a pill, that threat should turn into an edible ghost

Squillyprice01 added a commit that referenced this issue Jun 29, 2018
This method should be called when a pill is eaten. It updates the edible probabilities of all ghosts that we have info for atm. Essentiall, if we saw a ghost as a threat, rounded a corner into a pill, that ghost will be predicted as edible rather than a threat.
@Squillyprice01
Copy link
Collaborator

There are some bugs in the ghost model right now. Sometimes ghosts suddenly seem to become edible in the model when they shouldn't be...

@Squillyprice01
Copy link
Collaborator

The Ghost model now works correctly without the bug causing ghosts to randomly become edible. Ghost predictions also dynamically update when a pill is eaten even if the ghost is not visible.

@Squillyprice01
Copy link
Collaborator

At this time, there is only one thing to improve for future SCOPE participants and/or me in the future. Edible ghost predictions move at the speed of threat ghosts even though the edible ghosts themselves move at a reduced speed.

@schrum2
Copy link
Owner Author

schrum2 commented Jul 9, 2018

This last part of the issue has been moved to #272 so that this issue can remain closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants