Commit Graph

19 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
538771695f Updated assembly source files 2026-02-02 18:53:41 +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
Dillon Depeel
0596d9ac32 Merge pull request #2 from RedSonOperations/adding-pacman-history
Added history to readme
v1.1.0
2023-05-16 10:21:59 -07:00
Alec
5e19688bde Added history to readme 2023-05-15 21:31:05 -04:00
Dillon Depeel
79afae8409 Create SECURITY.md v1.1 2023-05-15 12:01:18 -07:00
Dillon Depeel
f9a90a3557 Create CODE_OF_CONDUCT.md 2023-05-15 11:58:56 -07:00
Dillon Depeel
5a1cdadc64 added files 2023-05-15 12:46:46 -07:00
Dillon Depeel
3f8df40ade Add files via upload 2023-05-15 11:44:48 -07:00
Dillon Depeel
51fe974b98 Initial commit 2023-05-15 11:44:27 -07:00