C++ Games

Open-source C++ projects categorized as Games | Edit details

Top 23 C++ Game Projects

  • GitHub repo SFML

    Simple and Fast Multimedia Library

    Project mention: Baby Steps for a beginner? Mistakes to avoid? | reddit.com/r/gamedev | 2021-09-17

    I've used SFML for some c++ practice. It offers a window, some event handling, and 2D rendering (sprite drawing). It's a good example of what I mean when I say "limited environment".

  • GitHub repo Minetest

    Minetest is an open source voxel game engine with easy modding and game creation

    Project mention: Questions about Potential Capabilities of Minetest | reddit.com/r/Minetest | 2021-09-13

    Not really, I was referring to the num_emerge_threads option.

  • 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 EA Standard Template Library

    EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.

    Project mention: Bungie article on how they program games like Destiny using C++ and the guidelines they came up with for doing so. | reddit.com/r/programming | 2021-09-02

    I'd 100% wager that they have their own standard collections. Something like EASTL but internal to Bungie.

  • GitHub repo wesnoth

    An open source, turn-based strategy game with a high fantasy theme.

    Project mention: Open source dungeon builder KeeperRL adds a Dwarves faction in the latest big release | reddit.com/r/opensourcegames | 2021-09-21

    And a friend of mine likes The Battle for Wesnoth: https://www.wesnoth.org/

  • GitHub repo open_spiel

    OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.

    Project mention: How to deal with non-static state/action space? | reddit.com/r/reinforcementlearning | 2021-07-05

    +1 this is the standard way. If you want to look over an example DQN impl with this for games, see https://github.com/deepmind/open_spiel/blob/master/open_spiel/python/algorithms/dqn.py

  • GitHub repo warzone2100

    Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+

    Project mention: [PC][2000s] Command and Conquer-like game | reddit.com/r/tipofmyjoystick | 2021-08-31

    Warzone 2100

  • GitHub repo Teeworlds

    A retro multiplayer shooter

    Project mention: Best free LAN Party Games to share | reddit.com/r/lanparty | 2021-07-27

    Teeworlds is an absolute blast of a LAN party game. Fist Full of Frags is fun... Armagetron Advanced is a weird change of pace. (Tron lightcycles) Xonotic is a more modernized Unreal Tournament type experience.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo WidescreenFixesPack

    Widescreen fixes for old games

    Project mention: "Improved Gamepad Support" problem | reddit.com/r/NFSU2 | 2021-09-04

    It actually does. I've been using it for days. https://github.com/ThirteenAG/WidescreenFixesPack/releases/tag/nfsu2 But I'll try this one anyway. I'll be back to say if it worked. Thank you, Dragon!

  • GitHub repo d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

    Project mention: Guild Wars 2 Hearth of Thorns/Path of Fire is 50% off if you've got prime gaming. 15$ for both expansions using the coupon. Also free in game costume right now. | reddit.com/r/pcgaming | 2021-09-20

    Runs quite well with dx912pxy, but since the official DX11 beta hits in a few days it might make sense to just wait for that.

  • GitHub repo EKA2L1

    An experimental Symbian OS emulator

    Project mention: EKA2L1 (Symbian OS/N-gage emu) New QT UI by pent0 | reddit.com/r/emulation | 2021-07-23

    Automatic CI builds

  • GitHub repo dosbox-staging

    DOS/x86 emulator focusing on ease of use

    Project mention: How do I set up networking. | reddit.com/r/dosbox | 2021-08-07

    Use a DOSBox version with the NE2000 networking feature. DOSBox Staging plans to eventually support this feature (including Slirp backend), but for now you can use DOSBox-X which supports the NE2000 networking feature.

  • GitHub repo openmw-tes3mp

    Multiplayer for OpenMW, a reimplementation of The Elder Scrolls 3: Morrowind's engine.

    Project mention: A Fun Question for the Serious Role Players | reddit.com/r/Morrowind | 2021-09-13
  • GitHub repo pegasus-frontend

    A cross platform, customizable graphical frontend for launching emulators and managing your game collection.

    Project mention: Closing a game from Pegasus the wrong way | reddit.com/r/retroid | 2021-09-11

    I never use any emulator features like save and load but rather use the ingame saving and loading. I also set "kill all background processes" in the toolbox and allocated long press home button to "previous app" (meaning Pegasus whenever ingame). You can also set Pegasus to your native launcher but be warned, there's a bug when you reboot your RP2: https://github.com/mmatyas/pegasus-frontend/issues/750.

  • GitHub repo antimicrox

    Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support.

    Project mention: AntiMicroX-3.1.7 is out and makes the life of Wayland users easier | reddit.com/r/u_robo_muse | 2021-09-11
  • GitHub repo aitrack

    6DoF Head tracking software

    Project mention: Is track ir worth it? | reddit.com/r/hoggit | 2021-09-11


  • GitHub repo exult

    Exult is a project to recreate Ultima 7 for modern operating systems, using the game's original plot, data, and graphics files. (by exult)

    Project mention: Has anyone ever maxed out their level in Black Gate or Serpent Isle? | reddit.com/r/Ultima | 2021-06-08

    Also, I wanted to say I didn't think there were levels beyond 9, funny. However, this question inspired me to look up some stuff. I also didn't find a table of XP values. I booted up Exult, and saw it has an editor feature (Exult Studio), which I wasn't able to get running in tandem with Exult, unfortunately. However, I did notice that, when creating an NPC, there's no value for XP given. I went to the source code of exult, not hoping to find anything clear, and there's this function here:

  • GitHub repo iw4x-client

    🎮 Official IW4x source code

    Project mention: IW4X Hit me with ransomeware : beware | reddit.com/r/MW2 | 2021-06-09

    Check out [src/Components/Modules/Singleton.cpp](https://github.com/XLabsProject/iw4x-client/blob/develop/src/Components/Modules/Singleton.cpp#L25), especially Line 25. This line checks whether IW4x is already running. If we look at the documentation of the function "CreateMutexA", we find this:

  • GitHub repo dgVoodoo2

    Glide/DirectX implementation on D3D11/12

    Project mention: Classic Rainbow Six standalone mod released combining all 7 original R6 games into one 56 mission long mega-campaign | reddit.com/r/Games | 2021-09-07

    I got a black screen and CTD on launch when run after installation - fixed by downloading dgVoodoo and copying in the files from there! https://github.com/dege-diosg/dgVoodoo2/releases (copy in the contents of the MS/x86 folder)

  • GitHub repo rawgl

    Another World/Out of This World engine reimplementation (SDL, OpenGL)

    Project mention: Please Help Me Identify a Game | reddit.com/r/snes | 2021-04-25

    Depending on where you live, it was either called "Out Of This World" or "Another World". It's a cool game, because the engine was written as a kind of "virtual machine" that interprets game bytecode. And the interpreter itself was pretty small, and easy to port to new platforms, so although the game started on the Amiga and Atari ST, it got a ton of ports over the years (literally a couple dozen systems). There are even open source versions of the game engine.

  • GitHub repo Vanilla-Conquer

    Vanilla Conquer provides clean, cross-platform builds of the C&C Remastered Collection and the standalone legacy games.

    Project mention: OpenRA: Red Alert, Command and Conquer, Dune 2000, Rebuilt for the Modern Era | news.ycombinator.com | 2021-09-13

    Also check out https://github.com/TheAssemblyArmada/Vanilla-Conquer which is a modernization of the original code (!), rather than a rewrite with liberties.

  • GitHub repo Fractal_Engine

    3D game engine with editor and other stuff

    Project mention: My Custom Game Engine written in C++ and OpenGL | reddit.com/r/gamedev | 2021-05-20

    Source Code : https://github.com/kacperks/Fractal_Engine

  • GitHub repo f2bgl

    Fade To Black engine reimplementation (SDL, OpenGL) (by cyxx)

    Project mention: Flashback (1992) | reddit.com/r/retrogaming | 2021-06-04

    Fun fact: Flashback has an open source engine reimplementation called REminiscence. The sequel, Fade To Black, has something similar called f2bgl.

  • GitHub repo BlueVGA

    VGA library for STM32F103C (BluePill) that can manipulate a screen with 28x30 tiles with 8x8 pixels each, in a total resolution of 224x240 pixels with 8 colors using a very low footprint

    Project mention: STM32F103C8T6 I2C Slave not working (Arduino Framework) | reddit.com/r/stm32f4 | 2021-02-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-21.


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

Project Stars
1 SFML 7,117
2 Minetest 6,281
3 EA Standard Template Library 5,931
4 wesnoth 3,355
5 open_spiel 2,866
6 warzone2100 1,976
7 Teeworlds 1,663
8 WidescreenFixesPack 1,240
9 d912pxy 961
10 EKA2L1 702
11 dosbox-staging 529
12 openmw-tes3mp 502
13 pegasus-frontend 432
14 antimicrox 420
15 aitrack 367
16 exult 336
17 iw4x-client 252
18 dgVoodoo2 204
19 rawgl 120
20 Vanilla-Conquer 101
21 Fractal_Engine 101
22 f2bgl 57
23 BlueVGA 34
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