11 Commits

Author SHA1 Message Date
2aedcb8a66 Modified game to start immediately on page load
- Changed initialization from ATTRACT mode to READY state
- Added 3-second READY countdown before auto-starting PLAYING state
- Bypassed need for space button press to begin game
- Game now starts automatically when page loads
- Maintains full assembly-based implementation with immediate gameplay
2026-02-02 18:55:37 +00:00
7e926c3ce2 Fixed game startup issues and added comprehensive debug logging
- Added missing getOppositeDirection function to prevent JavaScript errors
- Enhanced initialization logging with detailed state tracking
- Added comprehensive debug logging for space button interactions
- Improved mobile control detection and setup logging
- Added state transition logging for ATTRACT → START → READY → PLAYING
- Fixed critical runtime errors preventing game from starting
2026-02-02 18:48:04 +00:00
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
da128be262 added inline script test for fundamental JavaScript debugging 2026-02-02 18:10:06 +00:00
24108d949a added simple test to isolate button click issues 2026-02-02 17:14:28 +00:00
d48e9fa27b enhanced Chrome Android compatibility - improved touch events and audio 2026-02-02 17:07:43 +00:00
0e20e6d030 simplified game start logic - removed attract mode complexity 2026-02-02 17:04:53 +00:00
a02eb6149a fixed mobile controls functionality - buttons now work properly 2026-02-02 17:02:37 +00:00
4bb2ea6860 added mobile controls debugging and fixes 2026-02-02 16:59:20 +00:00
d5bd5a83df added mobile touch controls and responsive design 2026-02-02 16:54:56 +00:00
abae53aae0 created html5 implementation 2026-02-02 16:50:50 +00:00