10
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.
Technical requirements
Before you start building the app for this ...
Get .NET MAUI Projects - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.