Building a Real-Time Game
In this chapter, we will build a multi-player, head-to-head game app with real-time communication. In the app, you will be able to connect to a game server and view a list of other players that are also connected. You can then select a player to request a game with them and, provided they accept, play a game of Sticks & Stones. We will look at how we can use SignalR to implement a real-time connection with the server.
The following topics will be covered in this chapter:
- How to use SignalR in a .NET MAUI app
- How to use control templates
- How to use XAML triggers to update the interface
- How to use XAML styling in a .NET MAUI app
Let’s get started.