Game demo

Now that our app is ready, let's run it and enjoy the game. Press F5 and the game should be launched in the browser. This will work for both Visual Studio 2017 IDE and Visual Studio Code. Also, since we are running it in our local machine, both players will need to play it on the same machine for the time being. Once we deploy this game in Azure, players can browse the URL from their individual machines. We will see how we can publish an ASP.NET Core 2.0 app to Azure in a later chapter.

This is what the game registration UI looks like:

On clicking Register, the find opponent screen is displayed:

On clicking the Find Opponent Player ...

Get .NET Core 2.0 By Example 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.