Skip to content

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.

Notifications You must be signed in to change notification settings

YusufTheDev/WebPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebPong

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.

Features

  • Real-time multiplayer gameplay
  • Simple controls using 'W' and 'S' keys
  • Easy to set up and play with friends
  • Cross-browser compatibility

Technologies

  • Languages: JavaScript, HTML, CSS
  • Frameworks and Libraries: Node.js, Express.js, Socket.io
  • Tools: npm

Installation

To get started with WebPong, follow these steps:

  1. Clone the repository:
    git clone https://github.com/YusufTheDev/WebPong.git
  2. Navigate to the project directory:
    cd WebPong
  3. Install the required dependencies:
    npm install

Usage

To start the game server, run:

npm start

Open your browser and go to http://localhost:3000. Share the URL with a friend to start playing.

Controls

  • 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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •