Pacman (with a twist)!

This is a play off Pacman - type help Macpan to see details.

You are now following this Submission

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 (2026). Pacman (with a twist)! (https://se.mathworks.com/matlabcentral/fileexchange/61474-pacman-with-a-twist), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Video games in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added picture and changed description.