Werewolf game server, working with Werewolf API https://github.com/cpe200-161/WerewolfAPI . You can test with with the simple Werewolf Client https://github.com/cpe200-161/WerewolfClient or any REST api tester, such as Postman (https://www.getpostman.com/ , see test/ folder for Postman test configuration)
- .NET Core 2.0 (2.1 might be fine, untested)
- Visual Studio Code (optional)
-
Fork the code, then clone to your disk
-
Open an elevated Powershell then change directory to the cloned folder
(Or run with normal powershell with namespace reservation to your config)
-
Run
dotnet buildto build the project -
If no error, run
dotnet runto run the server.
- Fork the code, then clone to your disk
- Open a terminal then go to the cloned folder
- Run
dotnet buildto build the project - If no error, run
dotnet runto run the server.
- Fork the code, then clone to your disk
- Open the folder in Visual Studio Code
- Run the project from the menu (Debug->Start Debugging) or from F5 shortcut.
- Now, it is configured to use sqlite database ( see Configuration file ) , you can connect it to local MySQL/MariaDB server for performance, but it's not necessary for testing.
- You can set the number of users in a game in here, but make sure it's either 2, 14, 15 or 16. 2 is the best for testing.
3.You should be able to connect to it in the same computer with URL
http://localhost:2343/werewolf/.
Please make sure you fork the git repo first, don't try to push to my repo!