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

Building a social game with Daily

Blog post from Daily

Post Details
Company
Date Published
Author
Liza Shulyayeva
Word Count
1,022
Language
English
Hacker News Points
-
Summary

This social gaming series explores how to incorporate WebRTC video and audio calls into a Daily-powered social game, Code of Daily: Modern Wordfare. The game is inspired by Codenames and involves two teams competing against each other to guess words that belong to their team. The tech stack includes daily-js for WebRTC functionality, Daily's REST API, TypeScript with webpack, Express for serving static assets, and Socket.IO for WebSocket protocol implementation. The application structure consists of a client and server, with the browser entry point detecting whether it should start the game creation or join process based on query parameters. The scope is kept in check to focus on basic Codenames-inspired gameplay without advanced features like open-world MMOs or complex admin functionality. Expansion opportunities include improved error handling, cursor sharing, and admin/game host functionality.