Autoplaying Pac-Man

Final Project Writeup




Scott "Jerry" Lawrence

jsl@absynth.com

Office 76-2116

20 May 1999


This document is available online at <http://www.cis.rit.edu/~sdlpci/autopac>















Table Of Contents

1.0 Project Summary
1.1 Abstract
1.2 Rules of Pac-Man
Figure 1: Ghost Names
Figure 2: Pellet Points
Figure 3: Edible Ghosts
1.3 Variants
Figure 4: Puck-Man
Figure 5: Pac-Man
Figure 6: Piranha
1.4 Past Work
MAME - Multiple Arcade Machine Emulator
2.0 Problem Definition
2.1 Goals
2.2 Limitations
3.0 Approach
3.1 Modifications To Pac-Man Game Program
3.2 Modifications To MAME
3.2.1 V-Blank Additions
Figure 7: Sample GAMAME screen
3.2.2 Game State Gleaning
Figure 8: Pac-Man "READY!"
Table 1: Game state transitions
3.2.3 Move Injection
3.2.4 Emulator User Interface
Figure 9: MAME Menu System
Figure 10: My GA Controls
3.3 Genetic Algorithm Subsystem
3.3.1 Subsystem Interaction
Chart 1: Flowchart of a full run
3.3.2 Fitness Calculation
3.3.3 Individuals
3.3.4 Child Generation
4.0 Results
4.1 Summary and Expected Results
Table 2: Game Results
4.2 Single Point Crossover
Graph 1: 1-Point, 10 Member Population
4.3 Double Point Crossover
Graph 2: 2-Point, 10 Member Population
Graph 3: 2-Point, 10 Member Population
4.4 Uniform Crossover
Graph 4: Uniform, 10 Member Population
5.0 Future
5.1 Goals
5.2 Bugs With The Current System
6.0 Research References
 

1.0 Project Summary

 

2.0 Problem Definition

 

3.0 Approach

 

4.0 Results

 

5.0 Future

 

6.0 Research References