O'Reilly logo

Redis Applied Design Patterns by Arun Chinnachamy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The notification center

Notification systems are used a lot in any gaming system, especially in multiplayer social gaming. Notifications play a vital role in notifying the user about certain events in the game. For example, let's say we are developing an online chess game portal where two human players can play real time against each other on our website. It is important to notify the user about the moves of another user and remind them that it is their turn to move the piece.

The problem statement

We want to achieve the following results in a chess game between player A and player B:

  • After any move from player A, player B should be notified about their turn
  • In real time, player A and player B should be allowed to chat
  • In real time, other players (spectators) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required