Skip to content

margarita2104/pong-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pong Game πŸ“

Welcome to the Ping Pong game! This simple yet engaging game brings back the nostalgia of classic arcade fun. Developed using JavaScript and rendered on HTML5 Canvas, it promises an enjoyable experience for players of all ages.

Features

  • Classic Gameplay: Experience the timeless joy of bouncing a ball between two paddles.
  • Real-time Score Tracking: Keep track of your score as you compete against your opponent.
  • Victory Celebration: Celebrate your victory with a confetti shower, adding an extra touch of excitement.

Controls

  • Right Paddle (Player 1):

    • Move Up: Press W key
    • Move Down: Press S key
  • Left Paddle (Player 2):

    • Move Up: Press O key
    • Move Down: Press L key

How to Play

  1. Start a New Game: Click the "New Game" button to begin a new match.
  2. Control Your Paddle: Use the designated keys to move your paddle up and down.
  3. Score Points: Hit the ball past your opponent's paddle to score a point.
Screenshot 2024-05-18 at 14 36 49

Credits

  • Confetti Library: The victory celebration feature is powered by the Confetti.js library.
  • Button Design: The stylish button design is courtesy of Joe Bocock.

Compatibility

The game is compatible with modern web browsers that support HTML5 Canvas and JavaScript.

Acknowledgments

Thank you for playing this Ping Pong game! Your feedback is highly appreciated. If you encounter any issues or have suggestions for improvement, feel free to reach out.

Version: 1.0.0

Last Updated: 18.05.2024

Enjoy the game! πŸ“

License

MIT

Releases

No releases published

Packages

No packages published