Pacman (with a twist)!

This is a play off Pacman - type help Macpan to see details.
Updated 7 Feb 2017

View License

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)!

Cite As

John Chilleri (2024). Pacman (with a twist)! (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Video games in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added picture and changed description.