Skip to content

This is a simple online multiplayer pingpong πŸ“ browser game that is built using socket.io and expressjs

License

Notifications You must be signed in to change notification settings

maxlar01/socketio-pingpong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

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

Repository files navigation

Socket.io Pingpong πŸ“

preview

License Socketio package

Table of Contents πŸ“–

Introduction ✨

This a simple online multiplayer pingpong browser game that is build using socketio and express. The front-end uses html, css and vanilla javascript as I was just learning and playing around with socket.io

A client can connect to the server and won't be able to join a game until another client (player) is connected as well. Once there are any 2 players ready to play at any given time, the server will create a room and the 2 players will join that newly created room and start playing. The game doesn't end unless one of the player disconnects.

How to run πŸš€

  1. First clone the repo
gh repo clone maxlar01/socketio-pingpong
  1. Navigate to the root directory and install project dependencies
npm i
  1. Open index.html and have fun 😊

License πŸ”‘

You can read more about it here

About

This is a simple online multiplayer pingpong πŸ“ browser game that is built using socket.io and expressjs

Resources

License

Stars

Watchers

Forks