rudra016 / WebDev-OpenSource

This is a Repository where different types of Front - End Projects are present. If you have any front end project or are eager to improve the existing ones, then you can contribute to this Open source repository.
91 stars 123 forks source link

Added Pong Game #347

Closed jatinn-sw closed 1 month ago

jatinn-sw commented 1 month ago

A simple two-player game where each player controls a paddle to hit a ball back and forth. Player A uses the "W" and "S" keys to move their paddle, while Player B uses the arrow keys. The goal is to prevent the ball from passing your paddle and score points when your opponent misses. The first to miss the ball allows the other player to score. The game updates scores and resets the ball after each point.