A tennis score keeper which features Broadcasting and Spectating
Static webpage without broadcasting/spectating: Webpage index
- Install npm
- On the root project folder, run
npm install
in order to install the necessary modules - Run
npm run start
to start the websocket server - Navigate to your IP address with the given port.
- Whenever you want to broadcast your game, press the "Broadcast" button.
- You will be given a Match #. This number is unique for your match and spectators can use it to spectate your game.
- Whenever you want to spectate a game, press the "Spectate" button.
- You will be prompted to give a Match #. Enter the number which corresponds to the match you want to spectate.
- A message will appear to inform you that you are spectating a match. Whenever its status changes, it will also change on your browser.
You can join an existing game by loading the page with ?room=X
, where X
is the room number.