Skip to content

Development Setup

Starciad edited this page Jan 15, 2025 · 2 revisions

To work on the game, you need to prepare your environment to ensure a smooth and efficient experience. Below are the general requirements and platform-specific details to set up your development environment.

General Requirements

  • .NET SDK 8.0: Ensure the latest version of the .NET 8.0 SDK is installed on your machine. (Download .NET SDK)
  • Git: Install Git to clone the repository and manage version control. (Download Git)
  • IDE or Text Editor: Use an IDE compatible with C# (e.g., Visual Studio 2022) or a text editor like VS Code. (Download Visual Studio 2022)
  • PowerShell 6.0+: Install PowerShell if your platform supports it. (Install PowerShell)

Platform-Specific Setup

Windows

  1. Install the .NET SDK 8.0, Git, and Visual Studio 2022 (or another C# IDE). During Visual Studio installation, include the .NET desktop development workload.
  2. Ensure PowerShell 6.0+ is installed (Windows comes with PowerShell, but you might need to upgrade).
  3. Verify all installations by running the following commands in a terminal:
   dotnet --version
   git --version
   pwsh --version

Linux

  1. Install the .NET SDK 8.0 by following the official instructions for your Linux distribution. (.NET SDK Installation Guide for Linux)
  2. Install Git using your distribution's package manager (e.g., apt, dnf, pacman).
    sudo apt install git # Debian/Ubuntu
  1. Install a text editor or IDE like Visual Studio Code. (Download Visual Studio Code)
  2. Install PowerShell 6.0+ (optional but recommended for running scripts). (PowerShell Installation for Linux)

MacOS

  1. Install the .NET SDK 8.0 using the installer from the official website. (Download .NET SDK for macOS)
  2. Install Git through Homebrew or Xcode Command Line Tools.
    brew install git # Using Homebrew

or

    xcode-select --install # Using Xcode Command Line Tools
  1. Install Visual Studio Code or any compatible IDE. (Download Visual Studio Code)
  2. Install PowerShell 6.0+ via Homebrew (optional but recommended).
    brew install --cask powershell

By completing the steps above, your environment will be ready to contribute to the game development. For additional assistance, refer to the platform-specific guides provided.