This project is a game inspired by the movie "The Lobster". It is an experience where two people play together. First, the players must match up and form a pair. Then the players must choose a characteristic, which is their shared characteristic. After choosing the characteristic, they must navigate on a map, where one player can steer on the x-axis and the other player can steer the y-axis. Placed on the map are various challenges that the players can encounter. The challenges consist of questions, rankings and ratings. The goal of the players is to get similar answers, but the game is designed in a way, that they answer differently. When all challenges have been solved, their results are compared and the players get a result on how much similarity they have achieved. Based on their similarity, they will receive a prediction of their future as a couple.
As this game is dependent on two players, it only works, when at least two clients are available. This can be achieved by opening two browser windows.
The connection between players is achievd with a SignalR connection via the web server.
In order to run this project, follow the guide below.
- Install Visual Studio Code
- Install the C# Dev Kit
- Install node.js
- Install .NET 8
- Navigate to the root folder
- Run
npm install - Run
npm run dev
When first running the app, you are prompted to trust the certifactes to enable https
Make sure to change the url of the SignalR connection depending if you want to connect to the Azure Server or the local server The URL of the local server is configured in appsettings.json
- Navigate to the root folder
- Navigate to TrialPeriodServer/TrialPeriodServer
- run
dotnet run
In order to run the server and the client correctly, the developer certificates have to be configured. This can be done with the following commands:
dotnet dev-certs https --clean
dotnet dev-certs https --trust