A Blazor Tutorial: Building Connect Four in ASP.NET Core
Let's learn Blazor in ASP.NET Core 3.0 by building the classic childhood game ConnectFour!
Let's learn Blazor in ASP.NET Core 3.0 by building the classic childhood game ConnectFour!
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
Let's complete our implementation of Battleship as a C# program and play a few thousand games!