A classic Pong game implementation with modern features, built with React and TypeScript.
- Classic Pong look with black background and white paddles
- Three ball options: white ball, cloud emoji (⛈️), and cat emoji (😼)
- Two game modes: Player vs AI and AI vs AI
- Adjustable AI difficulty (Easy, Medium, Hard)
- Sound effects:
- Paddle hit ("blip") with pitch variation based on hit location
- Wall hit ("bloop")
- Score point ("buzz")
- Controls:
- Keyboard: Up/W for up, Down/P for down, Shift for turbo, P for pause/resume
- Touch controls for mobile devices in horizontal orientation
- Responsive design that works on both desktop and mobile browsers
- Score tracking with large display
- Game to 11 points
- Clone the repository:
git clone <repository-url>
cd pong-game- Install dependencies:
pnpm install- Start the development server:
pnpm run dev- Build for production:
pnpm run buildAfter building the project, you can deploy the contents of the dist directory to any static web hosting service.
- React
- TypeScript
- Vite
- Tailwind CSS
- Web Audio API for sound effects
-Move Up: Arrow Up
-Move Down: Arrow Down
This project is available for personal and educational use.
