MagicNumber
Joined 9 years ago
Karma
34
Submissions
7
Member since
Sep 17
Joined 9 years ago
If I am not mistaken, it is at least possible to detect whether UDP is available using the protocol property of the RTCIceCandidate. [1]
Even if P2P in this case meant that all clients were connected to each other, you could still have each client maintain its own state and only transmit the user input. I do not see why this should not work well as long as the majority uses honest clients.
Disclaimer: I am not related to the game creator.
Web assembly even extends the possibilities game creators already have for creating browser-based games.
Having experimented a bit with WebRTC myself, I agree that it is overly complex but it also offers many features. And if usage is too complicated for game developers, they can still libraries that simplify the usage for their purpose.