Modeling the Card Game War in C# Part 3 - Running the App
Our card-game-WAR playing C# app is done! Now we can test it, and prove that it works correctly and fairly... I hope.
Our card-game-WAR playing C# app is done! Now we can test it, and prove that it works correctly and fairly... I hope.
NOTE: This is Part 2 of a three-part series demonstrating how we might model the card game War [https://en.wikipedia.org/wiki/War_(card_game)] as a C# program. Part 1 is over here [https://www.exceptionnotfound.net/modeling-the-card-game-war-in-c-part-1-background-and-rules/] . You might want to use the sample project over on
Long time readers of this blog know that I'm a fan of board and card games, and specifically of modeling them as C# executable programs. In the past, we've modeled Uno [https://exceptionnotfound.net/modeling-practice-uno-in-c-sharp-part-one-rules-assumptions-cards/] , Candy Land [https://exceptionnotfound.net/simulating-candy-land-in-net-part-1-introduction-and-basics/], Minesweeper [https://exceptionnotfound.net/solving-minesweeper-with-c-sharp-and-linq/], and most recently Battleship
For the next installment in our ASP.NET Core Demystified [https://www.exceptionnotfound.net/tag/asp-net-core-demystified/] series, we will discuss of feature of ASP.NET Core that doesn't really have an equivalent feature in ASP.NET Framework: Middleware. What Are Middleware? Middleware are classes in ASP.NET Core which form
Next up in our ASP.NET Core Demystified [https://www.exceptionnotfound.net/tag/asp-net-core-demystified/] series, we will discuss and demo a whole bunch of classes which implement the IActionResult interface [https://docs.microsoft.com/en-us/aspnet/core/api/microsoft.aspnetcore.mvc.iactionresult] and inherit from the corresponding ActionResult class [https: