Problem 1313. PACMAT 09 - Awesome Tunnelling Ghosts, Equal Speed, 20 Lives, Game Download
The Classic PACMAN game brought to Cody.
PACMAT requires clearing all the Yellow Dots. Twenty 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_009a.m. (Right click, 'save link as'). The routine creates a PACMAT9_1Xsolver.m script from the interactive play. The script demonstrates Interactivity, figure/KeyPressFcn, listdlg, and VideoWriter.
11 Lives Interactive (MP4) Best Score seen is 11 Lives.
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: Awesome Tunnel Ghosts and 2X Speed PACMAT; Randomized Awesome Tunnel Ghosts to make them non-deterministic
Solution Stats
Problem Comments
-
1 Comment
this was a tough one (but all PACMAT problems are great fun!)
Solution Comments
Show commentsProblem Recent Solvers2
Suggested Problems
-
Select every other element of a vector
32914 Solvers
-
2407 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2971 Solvers
-
Choose the best fitting dominoes
206 Solvers
-
Basics: 'Find the eigenvalues of given matrix
414 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!