Logic Games on WPF

This is a step-by-step tutorial for creating a simple logic game on WPF, on the basis of which you can create more complex games.
I will focus on creating logic games to train memory, spatial reasoning, and solve logical problems. Also, tracking progress depending on the difficulty and time spent on the game.
Let’s move on to practice. I will develop applications in Visual Studio. 
I will use the following version:
Let’s launch Visual Studio and select the following project type:
If you don’t have one, you need to install the necessary component in the installer.
Come up with a name for the application and specify the placement folder.
A standard WPF application template will open in front of us.