This is a project where I created a website with singleplayer and multiplayer games. I developed it using Blazor on the frontend, .NET API on the backend, and MySQL as the database. To test my code, I used MSTest.
When you eneter a website there is a page where you can choose if you want to login or register.
You can register entering name and password. I made this website with MySQL database where this data is stored.
You can also login and program will check if provided data is in database
When you login there is Main menu page. You can choose between singleplayer and multiplayer games.
The fun part is in the Multiplayer games. To handle the connection between clients i used SignalR library.
Battleship. You can enter your ships and when the number or positions of ships are incorrect you cant start a game.
The last game is monopoly and this is the most complex game i implemented in this project(2-4 players). I implemented almost every feature of monopoly, exactly Business tour that is available on steam. You can buy towns, build houses, set championship, and so on. The last player to not bankrupt is a winner (player 1 and 2) (player 3 and 4)
Game looks like this: (player 1 and 2) (player 3 and 4)
When you step on some cell, modal pops up and options are calculated based on cell type you stepped on and different other factors. Below there is modal that activates when you step on town cell.
I know i know this website looks just beautiful.