Building Our First .NET Core Game – Tic-Tac-Toe

Learning is more fun if we do it while playing games. With this thought, let's continue our quest to learn .NET Core 2.0 by writing our very first game in .NET Core 2.0, Tic-Tac-Toe. In this chapter, we will understand the anatomy of the ASP.NET Core 2.0 application that we created in Chapter 1, Getting Started, and understand each file and its purpose in the application. Then, we will quickly understand the basics of SignalR Core, which is the technology we will use to write the game in .NET Core 2.0. We will then proceed with the quick setup of SignalR Core, followed by the design and coding of the basic Tic-Tac-Toe game, in which players can specify their own images instead of conventional X and O.

Here are the topics that we will cover in this chapter:

  • Anatomy of ASP.NET Core 2.0 application
  • Tic-Tac-Toe
  • Game design
  • SignalR Core
  • Solution
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset