chinchang / chinchang/pacman-html5

Ghost AI behaving erratically

Open
#1 2 comments 0 reactions 1 assignee Claimed by @pragunbhutani View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The ghost AI seems to be behaving erratically at the moment.
Few suspected issues are:
- ghosts aren't obeying the 'never turn around' rule
- ghosts don't try to get close to pacman in case of paralell motion. They just keep moving in paralell. Suspect the problem lies in the way I've programmed the targeting.
- Should try to have each ghost mark it's target on the map and run the debugger
- all ghosts seem to turn in the same direction at the same time>

This needs to be looked into in detail and split into multiple issues.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.