C++ Games

Open-source C++ projects categorized as Games | Edit details
Related topics: #C++ #Sdl2 #Game #OpenGL #Game Engine

Top 23 C++ Game Projects

  • GitHub repo SFML

    Simple and Fast Multimedia Library

    Project mention: Why isn't there any lightweight C++ game engine ? | reddit.com/r/gamedev | 2021-12-26

    Then you might want to search for "Libraries" and "Frameworks", not "Game Engines". You might find things like Entt or SFML.

  • GitHub repo Minetest

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

    Project mention: ; suggestions ; | reddit.com/r/Minetest | 2022-01-07
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • 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: Confusion about how headers and stdlibs are distributed. | reddit.com/r/cpp_questions | 2022-01-03

    It’s also possible to link against a separate library implementation. For example, EASTL is statically linked by a lot of games: https://github.com/electronicarts/EASTL

  • GitHub repo wesnoth

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

    Project mention: qt | reddit.com/r/test | 2022-01-12

    FreeCiv, The Battle for Wesnoth, ADOM (Ancient Domains of Mystery), and Angband. Also, The Elder Scrolls 2: Daggerfall (free) imported into the Daggerfall Unity fan recreation that has many improvements would be worth a try. Not sure how the game will run on your system with Unity, but it's free and actually a fairly decent game, if the mod doesn't work out the game will still run in DOSBox it comes with.

  • 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: Teaching Rust at the University of Warsaw | reddit.com/r/rust | 2022-01-05

    Hi, I noticed one of your tasks is to implement A*. Do you think some of your students would be interested in AI (in games)? I'm the primary maintainer of OpenSpiel, and we just added a Rust API, which would give them access to over 40 different board games and environments.

  • 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: What are the 10 best video games ever made? | reddit.com/r/AskReddit | 2022-01-21

    WZ2100 is still an awesome RTS, with customizable units. Pumpkin Studios closed down but it's free and open source at https://wz2100.net/

  • GitHub repo Teeworlds

    A retro multiplayer shooter

    Project mention: Almost Always Unsigned | news.ycombinator.com | 2022-01-02

    The patch is completely bogus:


    Here it tries to avoid overflow by assigning the result of 32 bit arithmetic to a 64 bit type. That's a common mistake.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo WidescreenFixesPack

    Plugins to make or improve widescreen resolutions support in PC games, add more features and fix bugs.

    Project mention: Need GTA SA DWNLD Link | reddit.com/r/sanandreas | 2022-01-04

    Widescreen Fixes Pack: https://github.com/ThirteenAG/WidescreenFixesPack/releases/tag/gtasa

  • GitHub repo supertux

    SuperTux source code

    Project mention: Is there a way to search a Github repo for a specific file and/or object? | reddit.com/r/learnprogramming | 2022-01-08

    If you know the file name, you can use the "Go to file" button to search for files with some specific name -- e.g. https://github.com/SuperTux/supertux/find/master

  • GitHub repo BehaviorTree.CPP

    Behavior Trees Library in C++. Batteries included.

    Project mention: BehaviorTree.CPP: C++ behavior tree library, batteries included | news.ycombinator.com | 2021-10-05
  • GitHub repo d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

    Project mention: FPS fixes? | reddit.com/r/Guildwars2 | 2022-01-08

    If none of that is enough try out the DX12 addon.

  • GitHub repo EKA2L1

    An experimental Symbian OS emulator

    Project mention: What is the state of the Nokia N-Gage emulation? | reddit.com/r/emulation | 2022-01-20
  • GitHub repo dosbox-staging

    DOSBox Staging is a fork of the DOSBox project that focuses on ease of use, modern technology and best practices.

    Project mention: using frontends with dosbox-staging? | reddit.com/r/dosbox | 2022-01-21

    i just start doing what ILikeBumblebees suggested and have separate .conf and desktop files. mostly i follow the guide here https://github.com/dosbox-staging/dosbox-staging/wiki/Get-Started

  • 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: Switch Pro controller modes | reddit.com/r/pcgamingtechsupport | 2022-01-21

    The controller works fine when the LED around the home button is off. However whenever it is on, AntimicroX won't detect inputs from it.

  • GitHub repo openmw-tes3mp

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

    Project mention: Literally me in most RPGs | reddit.com/r/gaming | 2022-01-15

    Here's a link to the quickstart guide for TES3MP that should be all you need other than a copy of Morrowind.

  • GitHub repo pegasus-frontend

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

    Project mention: Best Emulator Front-End for Steam Deck/Linux? | reddit.com/r/SteamDeck | 2022-01-01

    Pegasus is my favorite so far. It's text based config, which can be a little irritating to work with, and there's no scraper by default, which means adding metadata would be an absolute pain.

  • GitHub repo aitrack

    6DoF Head tracking software

    Project mention: The CarrierOps mod is just awesome... | reddit.com/r/MicrosoftFlightSim | 2021-12-27
  • 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 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 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 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.

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-01-21.

C++ Games related posts


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

Project Stars
1 SFML 7,373
2 Minetest 6,553
3 EA Standard Template Library 6,127
4 wesnoth 3,668
5 open_spiel 3,054
6 warzone2100 2,134
7 Teeworlds 1,807
8 WidescreenFixesPack 1,380
9 supertux 1,365
10 BehaviorTree.CPP 1,137
11 d912pxy 983
12 EKA2L1 803
13 dosbox-staging 591
14 antimicrox 547
15 openmw-tes3mp 533
16 pegasus-frontend 494
17 aitrack 429
18 exult 343
19 iw4x-client 274
20 Fractal_Engine 128
21 rawgl 126
22 Vanilla-Conquer 122
23 f2bgl 60
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.