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