A collection of Pong games implemented using HTML5 Canvas, featuring both classic and breakout versions.
- Traditional player vs AI gameplay
- Progressive difficulty with increasing ball speed
- Real-time paddle movement and collision physics
- Score tracking system
- Combines classic Pong with Breakout mechanics
- Destructible blocks for additional scoring
- Expert mode for enhanced difficulty
- Toggle between game modes during play
- ↑↓ Arrow keys: Move paddle
- B: Toggle breakout mode (Breakout version only)
- X: Toggle expert mode (Breakout version only)
Located in diagrams/ directory:
classic-class.mmd: Classic Pong class structurebreakout-class.mmd: Breakout Pong class structureclassic-flow.mmd: Classic Pong game flowbreakout-flow.mmd: Breakout Pong game flow
- HTML5 Canvas for rendering
- Pure JavaScript implementation
- Mermaid.js for technical diagrams
- Open
index.htmlin a browser - Select desired game version
- Use keyboard controls to play
├── index.html ├── classic.html ├── breakout.html ├── diagrams/ │ ├── classic-class.mmd │ ├── breakout-class.mmd │ ├── classic-flow.mmd │ └── breakout-flow.mmd └── README.md