Pacman (with a twist)!
Hello everyone!
I decided to fool around for a couple evenings and decided to make a janky version of Pacman, and here it is! Named Macpan because it was made on a Mac, this file resembles Pacman, but has its own twist. Type help Macpan to see a detailed description. I think I've handled nearly all of the bugs, with the exception of having to press keys AFTER the game to undo the stacked pauses (also, an empty figure may appear); however, this DOES NOT affect gameplay, so I decided against trying to figure it out. Also, the movement is based off of GUI buttons rather than the arrow keys (can be changed, but I decided to go with buttons), and you'll find that the ghosts pause their movement when you do, which is sort of a handicap for having to use buttons rather than arrow keys! To reiterate, this is a janky-for-fun project, so don't expect elegant coding! Also, I didn't think it mattered too much, but I can always include number of dots "eaten" in the win/loss summaries, but that's left out for now.
Hope you all enjoy, please refrain from plagiarizing the entirety of this code (looking at you students' with final projects)!
Cita come
John Chilleri (2024). Pacman (with a twist)! (https://www.mathworks.com/matlabcentral/fileexchange/61474-pacman-with-a-twist), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | Added picture and changed description. |