C Game

Open-source C projects categorized as Game | Edit details

Top 23 C Game Projects

  • GitHub repo Craft

    A simple Minecraft clone written in C using modern OpenGL (shaders).

    Project mention: I just learned java, want to make a simple minecraft clone | reddit.com/r/javahelp | 2021-09-11

    Not java but https://github.com/fogleman/Craft will give you an idea of what has to be done.

  • GitHub repo cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

    Project mention: [C/C++]How do "header only" source files work? | reddit.com/r/learnprogramming | 2021-08-27

    Currently I'm looking at a "header only" cute_tiled.h library that includes this instruction:

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo yojimbo

    A network library for client/server games written in C++

    Project mention: Programming question : Which techniques are used to achieve real-time between players in online openworlds ? (think wow, ff14, teso) | reddit.com/r/gamedev | 2021-09-02

    And has his own C++ library for transmitting messages over UDP protocol https://github.com/networkprotocol/yojimbo

  • GitHub repo ioq3

    The ioquake3 community effort to continue supporting/developing id's Quake III Arena

    Project mention: id Tech 3 | reddit.com/r/gamedev | 2021-05-28

    On a more serious note, also check out https://github.com/ioquake/ioq3, which is a modernized version of quake 3!

  • GitHub repo NetHack

    Official NetHack Git Repository

    Project mention: [D] We are Facebook AI Research’s NetHack Learning Environment team and NetHack expert tonehack. Ask us anything! | reddit.com/r/MachineLearning | 2021-08-20

    Absolutely, what I like about NetHack 3.7 is the additional variety introduced through themed rooms. This makes the early game even more interesting for AI approaches. The other interesting development is the Dev Teams move towards Lua to define levels (e.g. see this example of Medusa's Island) -- this could open up new possibilities for MiniHack to define custom RL environments and tasks.

  • GitHub repo julius

    An open source re-implementation of Caesar III

    Project mention: How to implement changing tiles? | reddit.com/r/godot | 2021-08-10

    BTW if you're interested check out Julius: an open source re-implementation of Caesar III (it's written in C though).

  • GitHub repo StarRuler2-Source

    4X Space Strategy game Star Ruler 2's open source distribution.

    Project mention: any suggestions for a space game comparable to star ruler 2. | reddit.com/r/4Xgaming | 2021-04-27

    This github has been setup by blindmind for anyones use. Pretty cool of them. https://github.com/BlindMindStudios/StarRuler2-Source

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo soloud

    Free, easy, portable audio engine for games

    Project mention: Has anybody gotten the SoLoud audio library working with MSVC 2019? | reddit.com/r/cpp | 2021-03-01

    Hey folks, I've migrated a project from MSVC 2017 to 2019, and for the life of me cannot get SoLoud to run without crashing. Here is a link to a more descriptive description of the problem I'm having. I've stripped my project down to the following, and I'm still getting crashes:

  • GitHub repo angband

    A free, single-player roguelike dungeon exploration game

    Project mention: my `k` key don't work on target mode (roguelike keyset) | reddit.com/r/angband | 2021-09-05

    This is a known bug in 4.2.3, it's fixed in the development releases that you can find here.

  • GitHub repo vgmstream

    vgmstream - A library for playback of various streamed audio formats used in video games.

    Project mention: How do I read a .strm file? | reddit.com/r/WiiHacks | 2021-09-15

    foobar2000 audio player with vgmstream add-on can play the STRM and other Nintendo audio files.

  • GitHub repo space-nerds-in-space

    Multi-player spaceship bridge simulator. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space

    Project mention: Hey, I'm a huge fan of game developers although I don't code much and I'd like to help you in any way I can (not monetary cus I'm still in college). I could help with marketing, general programming, designing, content etc. | reddit.com/r/gamedev | 2021-09-03

    My open source space game needs more Lua mission scripts. Here are few examples.

  • GitHub repo REDRIVER2

    Driver 2 Playstation game reverse engineering effort

    Project mention: Open source re-implementation projects and game clones. | reddit.com/r/FoamList | 2021-08-28

    Redriver2 - Driver 2

  • GitHub repo cdogs-sdl

    Classic overhead run-and-gun game

    Project mention: C-Dogs SDL - Free top-down shooter based on a DOS classic. Up to 4-player coop, Deathmatch, a custom campaign editor, as well as surprising compatibility with Wolfenstein 3D! | reddit.com/r/freegames | 2021-08-29
  • GitHub repo naev

    Naev is a 2d action/rpg space game that combines elements from the action, rpg and simulation genres.

    Project mention: Good top down space sims? | reddit.com/r/spacesimgames | 2021-07-05

    https://naev.org/ (opensource project in the spirit of Escape Velocity and Transcendence).

  • GitHub repo SDLPoP

    An open-source port of Prince of Persia, based on the disassembly of the DOS version.

    Project mention: Ask HN: Reverse engineering that allows software to run on modern systems | news.ycombinator.com | 2021-02-14

    [2] https://github.com/NagyD/SDLPoP

  • GitHub repo gideros

    Gideros Release version

    Project mention: Becoming an Indie Game Developer with Gideros Studio | dev.to | 2021-07-18

    The Gideros Studio is also open source and available in the github repositories, so you can study how it works.

  • GitHub repo SSVOpenHexagon

    C++20 FOSS clone of "Super Hexagon". Depends on SSVStart, SSVEntitySystem, SSVLuaWrapper, SSVMenuSystem, JSONcpp, SFML2.0. Features JSON/LUA customizable game files, a soundtrack by BOSSFIGHT, pseudo-3D effects.

    Project mention: Open source re-implementation projects and game clones. | reddit.com/r/FoamList | 2021-08-28

    Open Hexagon - Super Hexagon

  • GitHub repo TOMB5

    Tomb Raider: Chronicles Disassembly translated to C source code.

    Project mention: Open source re-implementation projects and game clones. | reddit.com/r/FoamList | 2021-08-28

    TOMB5 - Tomb Raider: Chronicles

  • GitHub repo exengine

    A C99 3D game engine

    Project mention: Looking for code only game engine | reddit.com/r/gameenginedevs | 2021-03-29

    check out exengine, the creator designed it kinda like a library that you can include directly in you code.... or something like that

  • GitHub repo cave-story-md

    A fan port of Cave Story for the Sega Mega Drive

    Project mention: The music doesn't work when I try to play Cave Story on my PocketGo, is there any way of fixing that? | reddit.com/r/Bittboy | 2021-06-21
  • GitHub repo crispy-doom

    Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom.

    Project mention: Differences between Quakespasm-Spiked and vkQuake? | reddit.com/r/quake | 2021-08-28

    If you've heard of Chocolate Doom and Crispy Doom, same idea.

  • GitHub repo BrogueCE

    Brogue: Community Edition - a community-lead fork of the much-loved minimalist roguelike game

    Project mention: [Steam] Rift Wizard (25% off / $11.24) | reddit.com/r/GameDeals | 2021-09-01

    Brogue - One of the most popular roguelikes out there. The version I linked to is the community edition which comes with new improvements and bugfixes.

  • GitHub repo base

    Base environment for Red Eclipse and associated source files. (by redeclipse)

    Project mention: Matinbum, snälla börja spela Red Eclipse!!! | reddit.com/r/Matinbum | 2021-04-23
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-09-15.


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

Project Stars
1 Craft 8,813
2 cute_headers 3,168
3 yojimbo 2,001
4 ioq3 1,835
5 NetHack 1,786
6 julius 1,501
7 StarRuler2-Source 1,299
8 soloud 1,160
9 angband 960
10 vgmstream 647
11 space-nerds-in-space 622
12 REDRIVER2 578
13 cdogs-sdl 510
14 naev 507
15 SDLPoP 480
16 gideros 457
17 SSVOpenHexagon 423
18 TOMB5 417
19 exengine 408
20 cave-story-md 385
21 crispy-doom 380
22 BrogueCE 295
23 base 294
Find remote jobs at our new job board 99remotejobs.com. There are 25 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives