TheDarkun / Elevators

Fullstack .NET Project for SOČ
0 stars 0 forks source link

Elevators 🛗


Ascend to Victory or be the Last One Standing in Elevators – The Ultimate Multiplayer Thrill! 🎮

Prepare for an electrifying twist on the classic rock-paper-scissors game with Elevators! Your mission is simple: reach the top floor or be the last player standing. With three dynamic choices at your fingertips – CUT, IDLE, and UP – you hold the power to outsmart, outmaneuver, and outplay your opponents. Will you strategically advance with UP, cunningly counter with CUT, or play it safe with IDLE? The adrenaline rush is guaranteed as you battle it out with friends or foes in this exhilarating mind game. Are you ready to ride the Elevators and claim victory?

What technologies are being used? 💻

How to test the project by yourself 🧑🏿‍💻

Thank you for having an interest in the project! 💖

Before trying to run the project, you have to go to the Server/appsettings.json and replace all the values.

You will need to install the SDK. After that you can either open the solution with an IDE such as Visual Studio or Rider and then run either Server: Watch With Discord or Server: Watch Without Discord

If you just want to run the project via terminal, go to the Server folder and run either

dotnet watch run --launch-profile "Watch With Discord"

or

dotnet watch run --launch-profile "Watch Without Discord"

How to start the database and Adminer 🐬

MySQL port: 3307
Adminer port: 8080

MySQL credentials:

Firstly you of course have to go to the directory which contains all the docker files and then type the command bellow. The common issue with it not booting is that you probably forgot to open the docker first.

docker-compose up -d

Then you of course just put the docker back to bed.

docker-compose down

How to save the data 💾

If you've made some important changes to the database and now want to store the data, you HAVE TO use the save.sh or save.bat script.

This is intentional, because you really don't want to automatically save random debug stuff.

What to do if your data hasn't loaded 💀

If the data did not load, try the load.sh or load.bat to manually load the data. If the issue persists, please create a new issue.