Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (42 loc) · 1.27 KB

README.md

File metadata and controls

48 lines (42 loc) · 1.27 KB

Briscola P2P

Peer-To-Peer web application based on italian card game Briscola for a university project.
This app is developed with React, in particular using create-react-app, and implements a Mental Poker protocol for playing a fair game over distance without the need for a trusted third party.

Screenshot 1

Screenshot 2

Requirements

Installation

You need to install PeerJS Server:

git clone https://github.com/peers/peerjs-server.git
cd peerjs-server/
npm install

Then, install Briscola P2P:

git clone https://github.com/franksacco/briscola-p2p.git
cd briscola-p2p/
npm install

Run

Start PeerJS Server:

cd peerjs-server/
npm run start

Start server for match handling:

cd server/
node server.js

Start the web application (in development mode):

npm run start

Authors