Blazor Games

Blazor Games

Blazor Games are a set of games that show off the power of Blazor using WebAssembly and .NET that take advantage of the Comentsys.Assets.FluentEmoji.Shaded and Comentsys.Assets.Flags packages by Comentsys from NuGet to display the graphics used in the games and you can get the Source Code from GitHub

Tic Tac Toe shows how to create the game also known as Noughts and Crosses with Memory Game using the phases of the moon to create a simple matching game where you need to pair up two of the same images. Hit or Miss is where you need to get the most hits than misses and Four in Row is where you need to get a vertical, horizontal or diagonal row of either yellow or red circles to win. Rock, Paper, Scissors also known as Roshambo is where you play against the computer to see who wins, draws or loses and Fruit Game is a simple slot-machine like game where you need to match three symbols to win. Emoji Game puts your knowledge of emoji to the test where you need to guess which of the three emoji is the one being asked for but one wrong guess and you lose and Flags Game will put budding vexillologists to the test to see if you can identify which flag from a series of flags that use either vertical or horizontal bars is being asked for, but guess wrong and you lose!

Tic Tac Toe
Memory Game
Hit or Miss
Four in Row
Rock, Paper, Scissors
Fruit Game
Emoji Game
Flags Game

Blazor allows you to create components that can be updated either when interacting directly with the component such as with a click of the mouse or you can trigger an update by indicating that a state has changed which the set of Blazor Games demonstrate in one form or another. You can display assets such as those from the packages used to create the user interface of the games but the logic of these games already existed as they were taken from the Windows App SDK tutorials from tutorialr.com. Games can be a fun way of learning something new such as Blazor so hopefully these games will be interesting to look at and there's probably a few more games that could be ported over in a similar way or use different components to display their graphics in the browser.