June 2022
Intermediate to advanced
410 pages
5h 8m
English
This chapter demonstrates a real-time multiplayer quiz written in Node.js. The application is a step up from the simpler, self-contained examples shown in previous chapters. It has a more complex architecture, but it isn’t using any modules or techniques you haven’t seen before. I recommend that you progress through the explanations at your own pace and examine the code in an editor so you can follow what’s happening.
The game allows any player to start a new quiz using their own configuration options—such as the number of questions, scoring, time limits, and so on. Any number of other players can join that quiz using a unique code.
Any number of quiz games can be running concurrently. ...
Read now
Unlock full access