p2p game

p2p game(tic-tac-toe) using libp2p, stores game data on web3.storage.

p2p game

Created At

HackFS 2021

Project Description

This Project creates a peer vs peer data communication using libp2p library to leverage to create a peer vs peer game where data is transfer happens from peer1 to peer2 without any central server storing data and the game data after game finish is save to web3.storage and cid link is generated and shown to peer.

How it's Made

This project uses Libp2p for peer to peer connection. The data communication happens using webrtc protocol and its a client side project with public peerRelay server to establish connection between peer1 and peer2. It uses a game protocol option provided by libp2p, to find specific peer using the p2pgame app. Sponsor technology - web3.storage for storing game data.

background image mobile

Join the mailing list

Get the latest news and updates