C Gamedev

Open-source C projects categorized as Gamedev

Top 23 C Gamedev Projects

  1. raylib

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

    Project mention: raylib VS AssetKit - a user suggested alternative | libhunt.com/r/raylib | 2026-10-13
  2. SaaSHub

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

    SaaSHub 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. flecs

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

  5. MultiplayerNetworkingResources

    A curated list of Multiplayer Game Network Programming Resources

    Project mention: Multiplayer Networking Resources | news.ycombinator.com | 2026-07-02
  6. TIC-80

    TIC-80 is a fantasy computer for making, playing and sharing tiny games.

    Project mention: Mini Micro Fantasy Computer | news.ycombinator.com | 2026-05-27
  7. lovr

    Lua Virtual Reality Framework

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

  9. Open-Golf

    A cross-platform minigolf game written in C.

  10. orx

    ORX: Data-Driven Game Engine

  11. pygame-ce

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

  12. glfw

    Go bindings for GLFW 3 (by go-gl)

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

  14. librg

    🚀 Making multi-player gamedev simpler since 2017

  15. IconFontCppHeaders

    C and C++ headers, C# and Python classes, Rust files and Go package for icon fonts Font Awesome, Fork Awesome, Google Material Design icons and symbols, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons and Lucide.

  16. space-shooter.c

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

  17. Vortice.Windows

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

  18. dethrace

    Reverse engineering the 1997 game "Carmageddon"

    Project mention: Using Claude to decrypt Carmageddon | dev.to | 2026-07-26

    Found the repo dethrace exists, a decompilation of the game. The real code is in there. So I changed the question from "guess this" to "find this and explain it to me". So Claude located the EncodeLine in src/DETHRACE/common/utility.c and translated the C logic to JavaScript.

  19. libtcod

    A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.

  20. gigi

    A framework for rapid prototyping and development of real-time rendering techniques.

  21. foolrenderer

    A tiny software renderer implemented from scratch without the use of graphics API, used to understand how GPUs work.

  22. raylib-rs

    Rust bindings for raylib

  23. ENet-CSharp

    Reliable UDP networking library

  24. cute_framework

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

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 Gamedev discussion

Log in or Post with

C Gamedev related posts

Index

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

# Project Stars
1 raylib 35,563
2 Pygame 8,995
3 flecs 8,822
4 MultiplayerNetworkingResources 8,772
5 TIC-80 6,184
6 lovr 2,618
7 dxwrapper 2,052
8 Open-Golf 1,931
9 orx 1,787
10 pygame-ce 1,716
11 glfw 1,692
12 kohi 1,522
13 librg 1,515
14 IconFontCppHeaders 1,509
15 space-shooter.c 1,375
16 Vortice.Windows 1,245
17 dethrace 1,243
18 libtcod 1,241
19 gigi 1,230
20 foolrenderer 1,131
21 raylib-rs 936
22 ENet-CSharp 909
23 cute_framework 854

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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