WebPong is an online multiplayer ping pong game that you can play with your friends over the web. It uses WebSockets to provide real-time interaction between players.
- Real-time multiplayer gameplay
- Simple controls using 'W' and 'S' keys
- Easy to set up and play with friends
- Cross-browser compatibility
- Languages: JavaScript, HTML, CSS
- Frameworks and Libraries: Node.js, Express.js, Socket.io
- Tools: npm
To get started with WebPong, follow these steps:
- Clone the repository:
git clone https://github.com/YusufTheDev/WebPong.git
- Navigate to the project directory:
cd WebPong - Install the required dependencies:
npm install
To start the game server, run:
npm startOpen your browser and go to http://localhost:3000. Share the URL with a friend to start playing.
- Player 1: Use the 'W' and 'S' keys to move the paddle up and down.
- Player 2: Use the 'Up' and 'Down' arrow keys to move the paddle up and down.