#Pacman game, switch acting weird
1 messages · Page 1 of 1 (latest)
Preferably share the relevant code here, rather than asking people to download a random zip file.
I uploaded your attachments as Gist.
You kind of have your logic missed. You pass your board to a ghost. A board should have ghosts.
okay i also have an issue with ending game after collecting all points i don't know what to do
You seemingly don't have any exit condition for pacman caught/all ghosts. Your thread just keeps going.
i fixed issue with points but can't fix issue with switch case, can you please elaborate?