dkmiller / tidbits

Short notes on stuff I have recently discovered / understood
1 stars 0 forks source link

Game hosting site via WebRTC #55

Open dkmiller opened 3 years ago

dkmiller commented 3 years ago

Goal:

Host online games (e.g., Fishbowl, Chess, Checkers, Secret Hitler) in an extensible way without any "heavy" server space. Just serve "raw" HTML + JS and use WebRTC for peer-to-peer consensus and hosting.

(In theory, someone could also clone the repo, build locally, open the index.html, and get started.)

Use "legit" cryptographic protocols and QR codes (?) to preserve user privacy. Use a good abstraction to make it easy for others to implement games.

Some starting points:

dkmiller commented 3 weeks ago

Great find from @cchollar: https://github.com/mitxela/webrtc-pong