C# Game

Open-source C# projects categorized as Game

Top 23 C# Game Projects

  • GitHub repo OpenRA

    Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.

    Project mention: Incel in r/moderwarfare gets called out for being an Incel, then proceeds to harass a women who is looking for a women lead community to avoid getting harassed. I can't make this up. | reddit.com/r/SubredditDrama | 2021-06-09

    It's one of the three modules of OpenRA, alongside the original Command and Conquer and C&C Red Alert 1. RA1 is the main module (obviously) but the other two are fully playable.

  • GitHub repo MonoGame

    One framework for creating powerful cross-platform games.

    Project mention: What programming language, library, etc should I use? | reddit.com/r/gamedev | 2021-06-08

    You want a minimal library that gives you a solid base to implement your own systems, and also in C#? Probably the Monogame Framework. It's what games like Celeste, Fez, Stardew Valley, and Streets of Rage 4 were made using. If you want a few of the "standard" game engine systems pre-built but not to the same extent as something like Unity, most would recommend adding the Nez Framework as an accompaniment to Monogame.

  • GitHub repo osu

    rhythm is just a *click* away!

    Project mention: Commercial use of homebrew ROMs | reddit.com/r/MAME | 2021-06-12

    Stepmania also allows commercial use - read this for more info. There's also OSU, which is another Rhythm engine which you can use commercially - https://github.com/ppy/osu/blob/master/LICENCE.

  • GitHub repo Entitas-CSharp

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

    Project mention: Guides and tips for making a game engine in C# | reddit.com/r/gameenginedevs | 2021-04-08

    For examples I usually turn to GitHub. It has numerous C# game engines. However, I find it easier to figure out implementations myself and use other engines only for API inspiration. There are also several C# ECS such as Entitas and DefaultECS that you can use if you do not want to create you own.

  • GitHub repo Hearthstone-Deck-Tracker

    A deck tracker and deck manager for Hearthstone on Windows

    Project mention: Is there a way to export your card collection on mobile? | reddit.com/r/hearthstone | 2021-05-27

    That's not what I meant. What I mean is on websites like hsreplay.net where they have a link to download a tool that allows the site to view your collection so you can see if you have the required cards from the website instead of having to copy it and make a deck to see if you're missing some of the cards

  • GitHub repo open-project-1

    Unity Open Project #1: Chop Chop

    Project mention: C#/.NET engineer to Unity. Any list of general skills I should pick up in the transfer? | reddit.com/r/Unity3D | 2021-06-03

    Learn best practices for structuring Unity projects. Unlike typical C# software many Unity games don't use any kind of dependency injection (although there are libraries for this). Instead understand how the editor inspector or methods like FindObjectOfType can be used as a form of dependency injection. Also, understanding how to make use of ScriptableObjects will help a lot with decoupling systems. Lastly, it will be beneficial to have an intuitive sense for how prefabs, game objects, and components all work together. Unity has recently been developing an open source game project that will let you see a more concrete example of what a full project might look like.

  • GitHub repo Stride Game Engine

    Stride Game Engine (formerly Xenko)

    Project mention: Is there any advantage using MVVM pattern in WPF? | reddit.com/r/csharp | 2021-05-30

    You can find some of those there: https://github.com/stride3d/stride/tree/master/sources/presentation/Stride.Core.Presentation/ValueConverters.

  • GitHub repo Facepunch.Steamworks

    Another fucking c# Steamworks implementation

    Project mention: Distributing DLC through Steam | reddit.com/r/gamedev | 2021-01-15

    Depending on how you check various things, I'd recommend you use Facepunch.Steamworks which is free and available here: https://github.com/Facepunch/Facepunch.Steamworks

  • GitHub repo Aurora

    Unified lighting effects across multiple brands and various games.

    Project mention: Custom Color Wave? | reddit.com/r/LogitechG | 2021-05-31

    What the title says. Is there a way to make a custom color wave for LogitechG keyboards? I have GHub, the gaming software, and I also have aurora.

  • GitHub repo UnrealCLR

    Unreal Engine .NET 5 integration

    Project mention: I like Unreal - But I don't like C++, I like C#. Should I ditch Unreal and just use Unity? | reddit.com/r/unrealengine | 2021-06-06


  • GitHub repo YarnSpinner

    Yarn Spinner is a tool for building interactive dialogue in games!

    Project mention: Ink 1.0 – open-source scripting language for interactive narrative | news.ycombinator.com | 2021-04-10
  • GitHub repo Duality

    a 2D Game Development Framework

  • GitHub repo Nez

    Nez is a free 2D focused framework that works with MonoGame and FNA

    Project mention: For the AGE engine that uses ECS, does anyone know how they connected the json definitions to C# code? | reddit.com/r/roguelikedev | 2021-06-09


  • GitHub repo Thrive

    The main repository for the development of the evolution game Thrive.

    Project mention: Is Godot compatible wth C# 8.0? | reddit.com/r/godot | 2021-06-07

    Yes. We have been using C# 8 in Thrive (https://github.com/Revolutionary-Games/Thrive) for probably half a year already.

  • GitHub repo BEPUphysics

    Pure C# 3D real time physics simulation library, now with a higher version number.

    Project mention: Early Demo of Dynamic Blocky Lighting System | reddit.com/r/VoxelGameDev | 2021-03-20

    I use https://github.com/bepu/bepuphysics2. I haven't worked with 3d physics engines before so I can't really comment on it's quality but it is definitely an impressive project! The developer is very active and helpful and some of the demo scenes are pretty large and complex.

  • GitHub repo Zenject

    Dependency Injection Framework for Unity3D

    Project mention: How to establish proper communication/information links between various objects without too many dependencies or too many singletons? | reddit.com/r/gamedev | 2021-04-24

    Look into dependency injection, like Zenject. https://github.com/modesttree/Zenject

  • GitHub repo fungus

    An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.

    Project mention: TIL Ink Fungus Combo | dev.to | 2021-03-23

    The thing about Ink is its Unity integration is rather barebones. However, Fungus has a lot of dialog UI and other hooks, ready to be used. So what if Ink could be read by Fungus...it should be possible to parse/convert Ink into Fungus-Lua. I once converted a Ren'Py story into Fungus-Lua so converting Ink to Fungus-Lua should be doable. Fortunately this is not necessary because the Ink-Fungus Gateway exists! With it, a Gateway system is used to make both systems work with each other.

  • GitHub repo OpenSAGE

    OpenSAGE is a free, open source re-implementation of SAGE, the 3D real time strategy (RTS) engine used in Command & Conquer: Generals and other RTS titles from EA Pacific. Written in C#. Not affiliated with EA.

    Project mention: THIS MONTH IN OPENSAGE - An Unofficial Update on the Progress! | reddit.com/r/bfme | 2021-05-02

    First - What is OpenSAGE? Right now, installing the BFME games is hard, and massive improvements are limited because of how the game was built. If you've heard of BFME Reforged, they're creating a brand new game - But OpenSAGE is creating a compatible version of the game. Think of the original BFME like Internet Explorer, and OpenSAGE as Google Chrome. It will revolutionize the original games!

  • GitHub repo MDK-SE

    Malware's Development Kit for SE

    Project mention: Does everyone just *know* C#? | reddit.com/r/spaceengineers | 2021-06-02

    I didn't know C# when I started playing SE but I do work as a programmer IRL. Basic coding knowledge with a lot of hand holding from Visual Studio + Malwares MDK goes a long way

  • GitHub repo Barotrauma

    A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.

    Project mention: So i have read that nuclear shell are very powerful and have a 50m radius explosion, and so it must be detonated far from the submarine. But we have such a small range with the railgun not even 20m! How are we supposed to do? Shoot in the dark? | reddit.com/r/Barotrauma | 2021-05-02
  • GitHub repo hogwarts

    Hogwarts (Harry Potter) open sandbox game made in Unity

    Project mention: Announcing my OC Christmas Quest! A new fan-written story featuring a variety of characters. | reddit.com/r/HPHogwartsMystery | 2020-12-25

    Many fan games exist using borrowed assets because the companies allow them. An example of a Harry Potter game like this is https://github.com/OpenHogwarts/hogwarts.

  • GitHub repo UrhoSharp

    Code to integrate with the Urho3D engine

  • GitHub repo mgs2-v-s-fix

    Homemade fix for the PC version of Metal Gear Solid 2

    Project mention: Don’t you hate this? Every time I see a news article about Solid Snake with a picture of Big Boss I just want to scream “NO! THAT IS NOT SOLID SNAKE!” | reddit.com/r/metalgearsolid | 2021-06-06
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-12.


What are some of the best open-source Game projects in C#? This list will help you:

Project Stars
1 OpenRA 9,366
2 MonoGame 7,545
3 osu 7,248
4 Entitas-CSharp 5,096
5 Hearthstone-Deck-Tracker 4,377
6 open-project-1 3,728
7 Stride Game Engine 3,104
8 Facepunch.Steamworks 1,705
9 Aurora 1,580
10 UnrealCLR 1,462
11 YarnSpinner 1,335
12 Duality 1,246
13 Nez 1,226
14 Thrive 987
15 BEPUphysics 926
16 Zenject 893
17 fungus 841
18 OpenSAGE 786
19 MDK-SE 631
20 Barotrauma 613
21 hogwarts 427
22 UrhoSharp 426
23 mgs2-v-s-fix 379