C Game

Open-source C projects categorized as Game

Top 23 C Game Projects

  • Craft

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

    Project mention: Are C programs only used for terminal based interaction? | reddit.com/r/cprogramming | 2022-11-17

    When this subject comes up, I always like to link to one of the many Minecraft clones written in C. https://github.com/fogleman/Craft

  • Provenance

    iOS & tvOS multi-emulator frontend, supporting various Atari, Bandai, NEC, Nintendo, Sega, SNK and Sony console systems… Get Started: https://wiki.provenance-emu.com |

    Project mention: Majora’s mask on delta — 72 hr countdown bug fix? | reddit.com/r/AltStore | 2022-09-15

    Could maybe try Provenance. https://github.com/Provenance-Emu/Provenance

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • cute_headers

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

    Project mention: How many colors are too many colors for Windows Terminal? | news.ycombinator.com | 2022-05-14

    - https://github.com/RandyGaul/cute_headers/blob/master/cute_s...

    It's a simple and relatively straightforward approach that a sufficiently bright programmer would come up in their own while looking at the design constraints though, so overall I find it a bit meaningless to find the ultimate person for the "original idea".

  • yojimbo

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

    Project mention: Multiplayer Networking Solutions | reddit.com/r/gamedev | 2022-10-06

    yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames

  • NetHack

    Official NetHack Git Repository

    Project mention: I'm still amazed at the fact that the development version of nethack can be built for MS-DOS. | reddit.com/r/nethack | 2022-10-25

    Followed those instructions on my Linux box and got a MS-DOS binary running.

  • ioq3

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

    Project mention: Q3 source port help | reddit.com/r/quake | 2022-09-03

    The bigger thing is that you need to build the binaries (game files like .exe and .dll) yourself off ioQuake3's GitHub. If you're not a programmer, and/or you're lazy, it's easier to grab the files off Quake3e's GitHub instead.

  • julius

    An open source re-implementation of Caesar III

    Project mention: Caesar III in ultra wide and swedish | reddit.com/r/ultrawidemasterrace | 2022-10-17

    Details about game setup - Rebought Caesar III on steam - Applied Augustus mod https://github.com/Keriew/augustus - Swedish sounds: https://steamcommunity.com/app/517790/discussions/0/350542683192785127/ - Applied patch 1.0.1: https://github.com/bvschaik/julius/wiki/Patches

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • DungeonRush

    👾🐍 A opensource game inspired by Snake, written in pure C with SDL

    Project mention: Exactly my bro out there | reddit.com/r/ProgrammerHumor | 2022-05-20
  • Open-Golf

    A cross-platform minigolf game written in C.

    Project mention: Good open source games written in C? | reddit.com/r/C_Programming | 2022-09-04
  • sdlpal

    SDL-based reimplementation of the classic Chinese-language RPG known as PAL. (by sdlpal)

    Project mention: An interesting question: Is it possible to create a game in the C programming language? | reddit.com/r/gamedev | 2022-08-18
  • soloud

    Free, easy, portable audio engine for games

    Project mention: what annoys you most while using c++? | reddit.com/r/cpp | 2022-08-28

    No, that has indeed solved it for me. But the first time I encountered it, my friend and I spent quite awhile debugging the problem. Almost 2 hours, I believe. We still have an open issue about that one.

  • StarRuler2-Source

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

    Project mention: Ask HN: Favourite Open Source Game? | news.ycombinator.com | 2022-06-01
  • angband

    A free, single-player roguelike dungeon exploration game

    Project mention: is this a vault? i'm confused about what vaults look like. made it down to DL29 and haven't found one yet. | reddit.com/r/angband | 2022-10-25
  • librg

    🚀 Making multi-player gamedev simpler since 2017

    Project mention: Multiplayer Networking Solutions | reddit.com/r/gamedev | 2022-10-06

    LibRG is an open-source, C99 header-only that handles actor relevancy, similar to Unreals Actor Relevancy Graph.

  • vgmstream

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

    Project mention: VGM (Video Game Music) codec support would be so awesome! | reddit.com/r/plexamp | 2022-10-02

    I'm totally aware that implementing this would be for not straightforward, but there is this library that could ease this. https://github.com/vgmstream/vgmstream

  • SDLPoP

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

    Project mention: Prince of Persia - great cinematic platformer, and probably first game I ever played. My oldest gaming memory is main character dying on spikes. | reddit.com/r/dosgaming | 2022-11-24

    There's a source port to run the game on modern systems: https://github.com/NagyD/SDLPoP


    Driver 2 Playstation game reverse engineering effort

    Project mention: Soul Reaver HD Remaster - Story Trailer (Fan made Mod Available Now) | reddit.com/r/pcgaming | 2022-08-17
  • taisei

    A free and open-source Touhou Project fangame

    Project mention: How does ZUN program the spellcards | reddit.com/r/touhou | 2022-11-03

    Taisei Project, which is a Touhou fangame, might be of good help; its source code is available to the public. It's written in C though.

  • cdogs-sdl

    Classic overhead run-and-gun game

    Project mention: No Soap, Radio | news.ycombinator.com | 2022-08-05
  • 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: How Much to Build a Bridge Set? | reddit.com/r/SNIS | 2022-08-11

    Continued this discussion on github: https://github.com/smcameron/space-nerds-in-space/discussions/322

  • crispy-doom

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

    Project mention: foss gang | reddit.com/r/linuxmemes | 2022-06-28

    PrBoom+, Crispy, Woff!, and others are more vanilla friendly, meaning that you get the same experience as the original clients.

  • naev

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

    Project mention: Galaxy Genome - Open world 2D space sim inspired by Elite Dangerous. | reddit.com/r/iosgaming | 2022-09-11


  • 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: Best Freeware/Open Source Lowend Games 2022 **Please add your favorites!** | reddit.com/r/lowendgaming | 2022-10-15

    Open Hexagon

  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

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 2022-11-24.

C Game related posts


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

Project Stars
1 Craft 9,511
2 Provenance 5,016
3 cute_headers 3,644
4 yojimbo 2,190
5 NetHack 2,177
6 ioq3 2,046
7 julius 1,840
8 DungeonRush 1,674
9 Open-Golf 1,616
10 sdlpal 1,538
11 soloud 1,412
12 StarRuler2-Source 1,375
13 angband 1,107
14 librg 1,032
15 vgmstream 949
16 SDLPoP 927
17 REDRIVER2 760
18 taisei 698
19 cdogs-sdl 679
20 space-nerds-in-space 668
21 crispy-doom 616
22 naev 571
23 SSVOpenHexagon 527
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.