Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
.NET Core 2.0 By Example

You're reading from   .NET Core 2.0 By Example Learn to program in C# and .NET Core by building a series of practical, cross-platform projects

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788395090
Length 458 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Neha Shrivastava Neha Shrivastava
Author Profile Icon Neha Shrivastava
Neha Shrivastava
Rishabh Verma Rishabh Verma
Author Profile Icon Rishabh Verma
Rishabh Verma
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started FREE CHAPTER 2. Native Libraries in .NET Core 3. Building Our First .NET Core Game – Tic-Tac-Toe 4. Let's Chat Web Application 5. Developing the Let's Chat Web Application 6. Testing and Deploying – The Let's Chat Web Application 7. To the Cloud 8. Movie Booking Web App 9. Microservices with .NET Core 10. Functional Programming with F# 11. Other Books You May Enjoy

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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image