RishabhDevbanshi / Pacman-Game

This is a pacman game made using HTML, CSS and Javascript only.
https://rishabhdevbanshi.github.io/Pacman-Game/
59 stars 109 forks source link

Improve Ghost Movements #1

Open RishabhDevbanshi opened 4 years ago

RishabhDevbanshi commented 4 years ago

Right now , the ghosts are moving randomly. There needs to be some algorithm added so that ghosts follow pacman to make the game more interesting. Also when pacman eats a power up they should run away from him.

zjael commented 4 years ago

Sounds fun, i will give it a shot! :)

RishabhDevbanshi commented 4 years ago

Sounds fun, i will give it a shot! :)

Sure !

zjael commented 4 years ago

Can i do a small refactor? Put ghost and pacman classes and functions into separate files? And maybe you should add credit to the original creator kubowania?

RishabhDevbanshi commented 4 years ago

Can i do a small refactor? Put ghost and pacman classes and functions into separate files? And maybe you should add credit to the original creator kubowania?

GO ahead with it.

reethu-annjo commented 4 years ago

Is this issue still open to contribute to?

RishabhDevbanshi commented 4 years ago

Yes !

PRASHANT-SAJWAN commented 4 years ago

may I also try this?

RishabhDevbanshi commented 4 years ago

@PRASHANT-SAJWAN Yes !

PrashubhAtri commented 4 years ago

I also wanna try. Shall i make them acc to the actual game ?

RishabhDevbanshi commented 4 years ago

I also wanna try. Shall i make them acc to the actual game ?

Yes !

huntz20 commented 4 years ago

Heii this my first time join open source project, i dont realy sure how to do it so i think i want to implement A* algorithm on the ghost can i do it ??

RishabhDevbanshi commented 4 years ago

Heii this my first time join open source project, i dont realy sure how to do it so i think i want to implement A* algorithm on the ghost can i do it ??

Yes please ! It would be a great help.

ILOVEPIE commented 3 years ago

Don't forget to add cruse elroy mode, it's an important part of pacman that people often miss.