C Game development

Open-source C projects categorized as Game development

Top 23 C Game development Projects

Game development
  1. raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: Show HN: A backend agnostic Ruby framework for building reactive desktop apps | news.ycombinator.com | 2025-05-09

    Very cool project, and well thought with the choice of Raylib or SDL2. But since Raylib can compile to Android (https://github.com/raysan5/raylib/blob/master/examples/Makef...), do you think it could be difficult to add Android as a target platform ?

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Pygame

    🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

    Project mention: Game building fun with a 12 year old and the Amazon Q Developer CLI. | dev.to | 2025-04-14

    For this we decided on Pygame which is a a free and open-source cross-platform library for the development of multimedia applications like video games using Python. I had previously been shown what Pygame could do and thought it would be a great fit. Its python so pretty easy to pick up and my son had very limited coding experience to begin with and installation was easy.

  4. MultiplayerNetworkingResources

    A curated list of Multiplayer Game Network Programming Resources

    Project mention: Quake 3 Source Code Review: Network Model | news.ycombinator.com | 2024-11-23

    shameless plug: https://github.com/0xFA11/GameNetworkingResources

  5. flecs

    A fast entity component system (ECS) for C & C++

    Project mention: Flecs – A fast entity component system (ECS) for C and C++ | news.ycombinator.com | 2024-10-19
  6. ioq3

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

    Project mention: ioquake3 | news.ycombinator.com | 2024-11-27
  7. netcode.io

    Secure client/server connections over UDP

  8. go-sdl2

    SDL2 binding for Go

    Project mention: Ask HN: What are you working on? (April 2025) | news.ycombinator.com | 2025-04-27

    I'm working on a little 2D action puzzle game in Go on top of SDL (with bindings via https://github.com/veandco/go-sdl2). The prompt I've given myself is "Chip's Challenge meets Hotline Miami," but who knows how much of either of those elements will remain after I keep evolving the capabilities and general feel of the gameplay. For dev graphics I'm just cobbling together sprites from various pixel-arty asset packs I've purchased on itch.io, but in the future if I want to commercialize it I'll probably want to work with an artist to develop a unified look-and-feel for the game--I may even switch to 3D/2.5D depending on how the tone and my workflow evolve.

    I've experimented with Unity, Godot, and GameMaker in the past, but for the time being I'd like to see what I can accomplish on my own in Go to keep my dev chops sharp especially since I've moved into an engineering management role at my job (which has nothing to do with game dev but is increasingly employing more Go source throughout).

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. raylib-go

    Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.

  11. Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  12. soloud

    Free, easy, portable audio engine for games

  13. SGDK

    SGDK - A free and open development kit for the Sega Mega Drive

  14. Open-Golf

    A cross-platform minigolf game written in C.

  15. dxwrapper

    Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.

  16. HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.

  17. space-shooter.c

    A cross-platform, top-down 2D space shooter written in C using only platform libraries.

  18. kohi

    A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

    Project mention: Starting Up The Engine - Nikola Game Engine Devlog 1 | dev.to | 2025-02-28

    This "logging system" I adapted to this engine was influenced a whole ton by the kohi engine. If you don't know, the Kohi Engine is quite a robust game engine built in C. The guy who created it also logs his progress on his YouTube channel. Check it out. The series is very fun to watch and very informative.

  19. pygame-ce

    🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.

  20. daScript

    daslang - high-performance statically strong typed scripting language

    Project mention: Daslang – The High Performance Programming Language | news.ycombinator.com | 2024-11-13
  21. raylib-rs

    Rust bindings for raylib

  22. keeperfx

    Open source remake and Fan Expansion of Dungeon Keeper.

    Project mention: Ultima VII: Revisited | news.ycombinator.com | 2025-02-23

    Ugh, whenever i see Dungeon Keeper pic i am immediately inclined to go play again. If you havn't seen, there's a wonderful fan expansion fixing basically everything: https://keeperfx.net

  23. 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.

  24. simple2d

    :video_game: Simple, open-source 2D graphics for everyone

  25. etlegacy

    ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C Game development discussion

Log in or Post with

C Game development related posts

  • Show HN: A backend agnostic Ruby framework for building reactive desktop apps

    2 projects | news.ycombinator.com | 9 May 2025
  • Game building fun with a 12 year old and the Amazon Q Developer CLI.

    1 project | dev.to | 14 Apr 2025
  • GNU Make Standard Library

    2 projects | news.ycombinator.com | 5 Feb 2025
  • Bag: A header-only, simplistic, C++20, zipping & unzipping library.

    2 projects | dev.to | 9 Jan 2025
  • ioquake3

    1 project | news.ycombinator.com | 27 Nov 2024
  • Quake 3 Source Code Review: Network Model

    8 projects | news.ycombinator.com | 23 Nov 2024
  • Raylib v5.5

    1 project | news.ycombinator.com | 18 Nov 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 raylib 26,213
2 Pygame 8,008
3 MultiplayerNetworkingResources 7,911
4 flecs 7,028
5 ioq3 2,534
6 netcode.io 2,489
7 go-sdl2 2,294
8 raylib-go 2,032
9 Allegro 1,964
10 soloud 1,923
11 SGDK 1,891
12 Open-Golf 1,835
13 dxwrapper 1,470
14 HandmadeMath 1,366
15 space-shooter.c 1,353
16 kohi 1,189
17 pygame-ce 1,173
18 daScript 986
19 raylib-rs 839
20 keeperfx 828
21 SSVOpenHexagon 628
22 simple2d 622
23 etlegacy 621

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com