Cyberpunk Pong is a modern reimagining of the classic Pong game with neon aesthetics, immersive sound effects, and various gameplay modes. This game provides a retro-futuristic experience with AI or two-player options, multiple balls, and interactive controls. You can play the game here
- Two Game Modes:
- AI Mode: Play against a computer opponent.
- Two Player Mode: Compete with a friend using keyboard controls.
- Sound Effects: Web Audio API creates responsive sound effects for ball hits and scores.
- Interactive Controls:
- Add or remove balls during the game.
- Pause or reset the game on the fly.
- Dynamic Gameplay: AI difficulty increases with score.
- Neon Aesthetics: Glow effects and vibrant colors create a cyberpunk ambiance.
-
Player 1 (Left Paddle):
- Move Up:
W
- Move Down:
S
- Move Up:
-
Player 2 (Right Paddle) (Two Player Mode only):
- Move Up:
Arrow Up
- Move Down:
Arrow Down
- Move Up:
-
Touch Controls:
- PLayer 1:
Left side of screen
- Player 2:
Right side of screen
- PLayer 1:
- AI Mode: Activates AI opponent for Player 2.
- Two Player Mode: Enables control for two players.
- Reset Ball: Moves all balls back to the center of the canvas.
- Pause/Resume: Pauses or resumes the game.
- Add Ball: Adds an extra ball to the game.
- Reduce Balls: Removes a ball (minimum of one ball).
- Single Ball Game: Resets the game to a single ball.
- Restart Game: Resets the score and game objects to their initial state.
- Clone or download the project files to your computer.
- Open the
index.html
file in any modern web browser (e.g., Chrome, Firefox, Edge). - Select a game mode using the AI Mode or Two Player Mode buttons.
- Control your paddle using the keyboard keys, and modify gameplay with the on-screen buttons.
- HTML: Provides the structure of the page.
- CSS: Adds styling and cyberpunk visual elements.
- JavaScript: Implements the game logic, animations, and interactions.
- Web Audio API: Generates sound effects for gameplay.
- You can play the game at gimme.coffee/pong
- Hit the ball past the opponent’s paddle to score points.
- The ball bounces off walls and paddles with adjusted angles.
- The first player to reach a high score (or any agreed score limit) wins.
(Include gameplay screenshots if available)
This project is open-source and available under the MIT License.
Enjoy the neon-lit action of Cyberpunk Pong! 🎮