Skip to main content
100%

Retro Pong by Claude 3.7 Sonnet

✓ Published0🌍 Public
CCurran Kelleher
Last edited Jul 17, 2025
Created on Jul 17, 2025
Forked from HTML Starter

This example recreates the classic Pong arcade game as a two-player interactive animation. The code implements full game logic with paddle controls, score tracking, ball physics that increase difficulty, and retro sound effects generated through the Web Audio API. The visual design uses a monochrome palette with a Courier New font, rendered entirely through DOM manipulation of HTML elements. All gameplay mechanics, including collision detection, paddle movement, and game state management, are handled with vanilla JavaScript and CSS positioning.

AI-generated description

Retro Pong Game

A classic implementation of the Pong game using vanilla HTML, CSS, and JavaScript.

Controls

Player 1 (Left Paddle)

  • W: Move Up
  • S: Move Down

Player 2 (Right Paddle)

  • Arrow Up: Move Up
  • Arrow Down: Move Down

Features

  • Two-player gameplay
  • Score tracking
  • Realistic ball physics with increasing difficulty
  • Retro sound effects
  • Classic visual design
MIT Licensed

Similar vizzes