BACK TO DIRECTORY




Pong Block brings the classic arcade game to your WordPress site! This block lets users play a single-player game of Pong against a computer opponent, with full accessibility, responsive controls, and extensive customization.
- Feature-rich inspector settings for difficulty (paddle size, ball speed, winning score).
- Three accessible color schemes (Dark, Light, High Contrast) to ensure WCAG-compliant visuals.
- Overlays for Start, Instructions, and Game Over with auto-focused controls for keyboard users.
- Control paddle via keyboard arrows or big touch-friendly buttons.
- Responsive game area and controls for desktop, tablet, or mobile.
- Game and UI are fully localizable via WordPress translation functions.
- No scripts unless the block is present—minimal frontend impact.
Screenshots

The Pong Block ready to start, showing overlay game mode "Easy", "Medium", and "Hard" buttons.

Pong gameplay in action, with on-screen controls.

Pong block editor controls showing "paddle size", "ball speed", "winning score", "default difficulty", and "color scheme" settings.