Get the latest tech news
Show HN: Making a cross-platform game in Go using WebRTC Datachannels
Cross platform multiplayer without proprietary APIs is possible thanks to Pion!
Current issues: Potential: Will probably solve most problems once finished and would be the best choice for making a multiplayer game on the web. We now have an official example using Ebitengine in the Pion example-webrtc-applications repository This includes an bundled in signaling server so you can host your own lobby, and connect with another player. Github Link to Game PR where it was merged in: Example WebRTC Applications Limitations Right now, this can only support two players on the same computer Could probably work between two different computers, but we would need to figure out how to setup CORS properly for the signaling server The machinery is there to support more than two players in a lobby, but as of writing this article it is currently hardcoded to just two
Or read this on Hacker News