Problem 1314. PACMAT 08 - Awesome Tunneling Ghosts, 2X Speed, 6 Lives, Game Download
The Classic PACMAN game brought to Cody.
PACMAT requires clearing all the Yellow Dots. PACMAT moves at 2X Ghost speed. Six lives are available. Adjacent Ghosts will capture PACMAT. Awesome Ghosts use the tunnel. On Ghost capture everyone gets reset. These trained ghosts take the minimum path, including tunnel paths, to PACMAT assuming the other Ghosts are walls.

To aid in development of your routine, a PACMAT_Interactive.m file that creates a solver script and video has been posted at PACMAT_Interactive_008a.m. (Right click, 'save link as'). The routine creates a PACMAT8_2Xsolver.m script from the interactive play. The script demonstrates Interactivity, figure/KeyPressFcn, listdlg, and VideoWriter.
492 Moves Interactive (MP4) Best Score seen is Zero Lives lost, 492 moves.
Inputs: Map Definitions: -1=Wall, 0=Empty, 1=Dot, 2=PACMAT, >2=Ghost
Output: Direction Definitions: 1-Up, 2-Right, 3-Down, 4-Left, 0-No move
Pass Criteria: Clear all dots in less than 4000 moves
Scoring: Moves + 1000 * Lives
Near Future: Randomized Awesome Tunnel Ghosts to make them non-deterministic to require Adaptive Bot solutions
Solution Stats
Solution Comments
Show commentsGroup

Computational Geometry IV
- 20 Problems
- 12 Finishers
- Minimal cost
- Placing Beads Neatly in a Box
- Convex Hull Capture
- Find the sines of an isosceles triangle when given its area and height
- solid of revolution
- Height of a right-angled triangle
- solid of revolution
- Fun with a compass
- Height of a right-angled triangle
- Minimal cost
- Find the sides of an isosceles triangle when given its area and height from its base to apex
- Find the sines of an isosceles triangle when given its area and height
- Radiation Heat Transfer — View Factors (4)
- Radiation Heat Transfer — View Factors (5)
- The cake is a lie...
- Pancakes for everyone!
- Conic equation
- Why the heck are they blinking!?!?
- Find the Area of a Polygon
- Is It a Snake?
- Placing Beads Neatly in a Box
- Fun with a compass
- Angle bisectors
- Regular polygon bounded by and bounding a circle
- solid of revolution
- Height of a right-angled triangle
- Find the sides of an isosceles triangle when given its area and height from its base to apex
- Find the sines of an isosceles triangle when given its area and height
- Euclidean distance from a point to a polynomial
- Convex Hull Capture
- Under the sea: Snell's law & total internal reflection
Problem Recent Solvers1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!