This repository is a class library that contains all of the core game-logic and functionality for the game. This class library gets built into a dll
which is then consumed by the unity repository so that unity can parse and display the game state. This project also includes a DLL CLI tool which the backend repository makes use of in order to validate all player events when they are recieved. View tutorials and documentation on the class library's API here.
-
Install a C# IDE like Jetbrains Rider or Visual Studios Community 2019.
-
Once you have installed an IDE, ensure that you have the .NET standard 2.0 framework.
-
I'm sure if you're here this step is done but, you need to download Git to gain access to the code
-
Fork this repository and get clone the repository.
Note: After cloning the repository you will have the master
branch checked out. This is likely not the most recent version of the code. You will want to checkout a branch. Ask in our discord what branch is the most up to date.
- Using your IDE, open the project's
.sln
file. This will open the project within your IDE. Once open in the IDE, you are ready to go.
If using the Core dll
class libraries within the frontend or backend repositories, be sure to [View the API Documentation]documentation on the class library's API here to understand how to make use of the API to load a game and parse a game state.
Needed for Backend:
-
Get the latest link for dot net core 3.1 from the microsoft website https://dotnet.microsoft.com/download/dotnet-core/3.1
-
Select version 3.1 and copy the "Direct Link" URL.
-
Navigate to a folder of your choice where you would like to download dotnet to.
-
Make note of the current folder path at this point. Replace future occurances of
{path}
with your current path. -
Note: Replace
{directLink}
in the first linux command below with the Direct Link to dotnet.
- Download dotnet:
wget {directLink}
- Create a directory to extract the tar:
mkdir dotnet-arm32
- Unzip to the directory:
tar zxf dotnet-sdk-3.1.102-linux-arm.tar.gz -C dotnet-arm32/
- Allow using the
dotnet
command globally by setting the PATH:
export DOTNET_ROOT={path}/dotnet-arm32/
export PATH=$PATH:{path}/dotnet-arm32/
- Verify the installation worked:
dotnet --info