Files
Pacman-Source-Code/pacman.html
gronod 8f0264cacb Implemented full and faithful assembly-based Pac-Man reimplementation
- Added MAZHND (Maze Handler) with decision point detection
- Added MDIRCT (Monster Direction) with assembly-based pathfinding
- Added MONSTR (Monster State Machine) with 4 states: CHASE/SCATTER/FRIGHT/HOME
- Added CHSSEQ (Chase Sequence) with individual ghost AI patterns
- Added MPATRN (Pattern Movement) for scatter mode corner targeting
- Added SEEPAC (See Pacman) for line-of-sight detection
- Added GOHOME (Return to Ghost House) with eye-only movement
- Added DOTTST (Power Pellet Test) with fright mode activation
- Added MUNCHY (Dot Eating) with assembly-based consumption logic
- Enhanced collision detection with proper COLCHK routine
- Implemented ghost state timing system (7-second CHASE/SCATTER cycles)
- Added proper fright mode behavior with direction reversal
- Updated ghost initialization with assembly-based properties
- Enhanced mobile controls for Chrome Android compatibility
- All critical assembly routines now faithfully implemented
2026-02-02 18:41:01 +00:00

58 KiB