Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Realtime Games for the Web with WebRTC and Hasura GraphQL Subscriptions

Blog post from Hasura

Post Details
Company
Date Published
Author
Jesse Martin
Word Count
1,009
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text describes the creation of a real-time game for web using WebRTC and Hasura GraphQL subscriptions. The game was designed to be played on a large screen with players scanning a code to initiate a game request, while an admin could accept or reject these requests. To manage interactions between player, admin, and stage, subscriptions were used. However, subscription latency wasn't fast enough for actual gameplay mechanics, so WebRTC was employed for ultra-low-latency web connections. The text also explains the technical aspects of WebRTC, including offer/answer interchange in Session Description Protocol (SDP) and Interactive Connectivity Establishment (ICE). Hasura subscriptions were used to send offers and answers between devices. Lastly, gameplay data was stored in Hasura for accessing high-scores and player lists.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 4 1,364 422 132 +18%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.