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: Learn OpenGL, extensive tutorial resource for learning Modern OpenGL | news.ycombinator.com | 2026-07-23
  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal 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: Cloning a 90s DOS Game with AI | dev.to | 2026-02-08

    I initially considered Pygame, but a quick discussion with ChatGPT convinced me that Godot would be a better, more portable option for my case.

  4. MultiplayerNetworkingResources

    A curated list of Multiplayer Game Network Programming Resources

    Project mention: Multiplayer Networking Resources | news.ycombinator.com | 2026-07-02
  5. flecs

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

  6. ioq3

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

  7. netcode.io

    Secure client/server protocol for multiplayer games built on top of UDP

  8. raylib-go

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

    Project mention: Solod: Go can be a better C | news.ycombinator.com | 2026-07-13

    I don't know If I can be very helpful, I'm using gen2brain's binding [1].

    I started about a year ago asking the AI very beginner questions about Go and 3d math. I think it did steer me down some wrong path sometimes and of course I did some dumb things myself too. I'm not using Agents, just asking questions about features, then writing the code myself by hand.

    I really like the power of the tools and the constraints of the language in Go. It's been fun so far.

    [1] https://github.com/gen2brain/raylib-go

    It's interesting you would mention Odin because I spend a fair amount of time playing with it as well. It was easy to get started and fun. Fast, easy to iterate. The reason I moved away was not the language itself, but I felt it was too much Ginger Bills baby.

  9. SaaSHub

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

    SaaSHub logo
  10. go-sdl2

    SDL2 binding for Go

  11. SGDK

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

    Project mention: ASCII characters are not pixels: a deep dive into ASCII rendering | news.ycombinator.com | 2026-01-17
  12. Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  13. soloud

    Free, easy, portable audio engine for games

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

    Project mention: Nearly 90% of Windows Games Now Run on Linux | news.ycombinator.com | 2025-10-28

    >I only wish Wine also allowed me to zoom 2x or 3x, but this is where Gamescope comes in

    Also possible using dxwrapper (for DirectX 7-9 games):

    https://github.com/elishacloud/dxwrapper

    Similarly to dxvk, you drop a few DLLs into the game directory then edit one config file. No need to use a dedicated program.

  15. Open-Golf

    A cross-platform minigolf game written in C.

  16. orx

    ORX: Data-Driven Game Engine

  17. pygame-ce

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

  18. HandmadeMath

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

    Project mention: Sp.h is the standard library that C deserves | news.ycombinator.com | 2026-05-23

    sp_math.h is, as noted at the top of the file, a repackaging of https://github.com/HandmadeMath/HandmadeMath

    It is not part of the core library. It is certainly not meant as a reference-level implementation of math functions. It's there so you can write an easing function for a game without pulling in libc. It seems like its existence has offended you. If that's the case...I'm sorry? At every possible point, I note as loudly as possible exactly what that library is. I found your tone extremely dismissive and disrespectful and I don't care to engage with that any more than I already have.

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

  20. space-shooter.c

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

  21. Vortice.Windows

    .NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.

  22. daScript

    daslang - high-performance statically strong typed scripting language

    Project mention: Daslang v0.6.0 | news.ycombinator.com | 2026-03-02
  23. keeperfx

    Open source remake and Fan Expansion of Dungeon Keeper.

    Project mention: Dungeon KeeperFX 1.4.0 with Multiplayer Released | news.ycombinator.com | 2026-07-05

    The "Further Improvements" section on the README mentions "Native cross-platform support": https://github.com/dkfans/keeperfx

    It seems like it currently runs pretty well under Wine though.

  24. raylib-rs

    Rust bindings for raylib

  25. cute_framework

    The *cutest* framework out there for creating 2D and 3D games in C++!

  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

Index

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

# Project Stars
1 raylib 34,193
2 Pygame 8,887
3 MultiplayerNetworkingResources 8,614
4 flecs 8,574
5 ioq3 2,788
6 netcode.io 2,592
7 raylib-go 2,501
8 go-sdl2 2,327
9 SGDK 2,174
10 Allegro 2,117
11 soloud 2,108
12 dxwrapper 1,957
13 Open-Golf 1,923
14 orx 1,756
15 pygame-ce 1,611
16 HandmadeMath 1,589
17 kohi 1,480
18 space-shooter.c 1,373
19 Vortice.Windows 1,232
20 daScript 1,151
21 keeperfx 986
22 raylib-rs 925
23 cute_framework 823

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that C is
the 6th most popular programming language
based on number of references?