Akki-jaiswal / Akki-jaiswal/pong-game

Add Two-Player Mode to Pong Game

オープン
#122 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
22
フォーク
116
PR マージ指標
30日以内にマージされた PR はありません

説明

## 🚀 Feature Request: Add Two-Player Mode

### 🔍 Overview
Currently, the Pong game is single-player (against AI). A two-player mode would allow two human players to compete using keyboard controls.

### 🎮 Expected Behavior
- Player 1 uses `W` and `S` keys to move the left paddle.
- Player 2 uses `Up Arrow` and `Down Arrow` keys to move the right paddle.
- Game continues with normal ball physics and scoring.

### 💡 Additional Notes
- Make it optional (toggle between 1P and 2P).
- Display instructions for both players before game starts.
- Highlight the active player when someone scores.

### 🏷️ GSSoC Contribution
I am a **GSSoC'25 contributor**, and would love to work on this issue. Kindly label it `GSSoC` and assign it to me if approved.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。