C++ Game

Open-source C++ projects categorized as Game

Top 23 C++ Game Projects

  • OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Messing around with full-circuit Inverted Impulse coasters a la Volcano -- sharing some findings in the comments, as it's a cool coaster archetype I don't see a lot of discussion around! Would love to see more community builds in this style. | reddit.com/r/rct | 2022-11-24
  • tiled

    Flexible level editor

    Project mention: Programs for isometric world design? (Pixel Art) | reddit.com/r/gamedev | 2022-11-19

    Tiled for placing tiles, combined with your favourite pixel art tool for the art.

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

  • devilution

    Diablo devolved - magic behind the 1996 computer game

    Project mention: Diablo 1 for Web Browsers | news.ycombinator.com | 2022-08-19
  • Cataclysm-DDA

    Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.

    Project mention: Changelog from the last week [18 - 25 Nov] | reddit.com/r/cataclysmdda | 2022-11-25

    Content: * Add sand patch map extra spawning in fields by NetSysFire * A lot of changes regarding seating furniture and some new one to boot by Karol1223 * Wooden forward grip made from a rolling pin by RenechCDDA * Add more miscellaneous NPCs and their locations by MNG-cataclysm * Updated Riot Armor to modern armor standards. by bean-b * Integrated Armor for Scales Mutations by anoobindisguise * Stock Pot helmet by anoobindisguise * Updates sporting armor by bean-b * New map: a nuclear power plant by 8street * Add a new faction: the New England Community Church by MNG-cataclysm * JSONify two BIO special attacks by LyleSY * Removed varsize from junk platemails, increased encumbrance by bean-b * Drive-in movie theater by LovamKicsiGazsii * Arrow rests now occupy their own 'arrow rest' mod location by Night-Pryanik * Pens now can be loaded with all types of pen ink by Night-Pryanik

  • devilutionX

    Diablo build for modern operating systems

    Project mention: Original Diablo Group Play | reddit.com/r/Diablo | 2022-11-20

    https://github.com/diasurgical/devilutionX has working multiplayer, probably the easiest way to play with other poeple now

  • OpenTTD

    OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe

    Project mention: Prawda o Pracy | reddit.com/r/Polska | 2022-11-12
  • magnum

    Lightweight and modular C++11 graphics middleware for games and data visualization

    Project mention: Good graphics engines to visualize my physics framework? | reddit.com/r/gamedev | 2022-11-14

    If you want something that gives you more control you could use magnum.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • wesnoth

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

    Project mention: Can anyone share project files of 2D strategy games? | reddit.com/r/godot | 2022-11-11

    Turn based strategy: https://github.com/wesnoth/wesnoth

  • endless-sky

    Space exploration, trading, and combat game.

    Project mention: ⟳ 1 apps added, 15 updated at f-droid.org | reddit.com/r/FDroidUpdates | 2022-10-31

    Endless Sky (version Android port of endless-sky space trading game.

  • NoahGameFrame

    A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.

  • The-Powder-Toy

    Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.

    Project mention: The Powder Toy | news.ycombinator.com | 2022-11-12
  • vcmi

    Open-source engine for Heroes of Might and Magic III

    Project mention: Heroes of Might & Magic 2 FOSS reimplementation - Fheroes2 version 0.9.21 | reddit.com/r/linux_gaming | 2022-11-18
  • EpicSurvivalGame

    Third-person Survival Game for Unreal Engine 4 (Sample Project)

    Project mention: C++ project structure. | reddit.com/r/unrealengine | 2022-10-07

    I have looked up a few projects like Tom Looman's EpicSurvivalGame and Epic's Lyra Project, but I don't think they were made as formal games but more like tutorials. They don't teach us how to organize our project.

  • azerothcore-wotlk

    Complete Open Source and Modular solution for MMO

    Project mention: MMORPG design resources | reddit.com/r/mmorpgdesign | 2022-11-11

    TrinityCore, AzerothCore- C++, these and others like them are the server for projects- well-known for being used on private WOW servers, so they're probably good enough for your personal project https://www.libhunt.com/r/TrinityCore - https://www.trinitycore.org/ - https://www.azerothcore.org/

  • 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: How come most games in the repo look extremely amateurish | reddit.com/r/linux | 2022-11-06
  • ActionRoguelike

    Third-person Action Roguelike made in Unreal Engine C++. Project for Unreal Engine Pro C++ Course & Stanford University (CS193U)

    Project mention: Question Regarding C++ SetTimer | reddit.com/r/unrealengine | 2021-12-24

    In this case you could search for examples of SetTimer use inside the engine project to find plenty of useful examples, I also search through good example projects in the community like this when using things I'm not too familiar with as well.

  • Teeworlds

    A retro multiplayer shooter

    Project mention: I made a grinding platformer with Linux, for Linux! | reddit.com/r/linux_gaming | 2022-10-26

    I've played both and am especially a big fan of Celeste. The shooting is similar to Teeworlds, I got the idea from that.

  • corona

    Solar2D Game Engine main repository (ex Corona SDK) (by coronalabs)

    Project mention: Hello everyone! | reddit.com/r/lua | 2022-09-27

    https://solar2d.com/ Best Lua game engine around and only getting better.

  • ozz-animation

    Open source c++ skeletal animation library and toolset

    Project mention: How are rust devs doing? | reddit.com/r/GraphicsProgramming | 2022-07-17

    I really like the C++ ozz-animation library, and Rust doesn't have a good answer for it (yet! work is being done) It has a really great compressed animation data format that again is good for the web It also has a great runtime library for distributing animation calculations across separate cores

  • OpenJK

    Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software

    Project mention: When I was a kid, I imagined the sequels would be something like that. Oh well... | reddit.com/r/saltierthancrait | 2022-08-08
  • widelands

    Widelands is a free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode. The game was inspired by Settlers II™ (© Bluebyte) but has significantly more variety and depth to it.

    Project mention: Free alternatives to Factorio? | reddit.com/r/factorio | 2022-11-15

    Widelands - https://www.widelands.org/ (Open Source game inspired by Settlers II)

  • fheroes2

    fheroes2 is a recreation of Heroes of Might and Magic II game engine

    Project mention: made this meme based on me finally finding out that the game from my memories was HMM2 | reddit.com/r/HeroesofMightandMagic | 2022-11-22

    By the way, you should take a look on fheroes2 (github link), which is a project that rebuilt Heroes II engine, making the UI modular and customizable, and the game performs smoother than ever. Note that you'll need the game files (mandatory GOG link if you need to buy it), and it works incredibly well, including some QoL improvements.

  • stepmania

    Advanced rhythm game for Windows, Linux and OS X. Designed for both home and arcade use.

    Project mention: Anyone else | reddit.com/r/transgamers | 2022-11-25

    Emulators exist! and you can get mats that will plug in to your PC (or use a mayflash controller adapter) Also, check out stepmania https://www.stepmania.com/

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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-11-25.

C++ Game related posts


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

Project Stars
1 OpenRCT2 11,180
2 tiled 9,227
3 devilution 8,435
4 Cataclysm-DDA 7,765
5 devilutionX 6,100
6 OpenTTD 4,428
7 magnum 4,258
8 wesnoth 4,161
9 endless-sky 3,719
10 NoahGameFrame 3,585
11 The-Powder-Toy 3,560
12 vcmi 2,899
13 EpicSurvivalGame 2,743
14 azerothcore-wotlk 2,486
15 warzone2100 2,467
16 ActionRoguelike 2,128
17 Teeworlds 2,017
18 corona 1,992
19 ozz-animation 1,798
20 OpenJK 1,741
21 widelands 1,667
22 fheroes2 1,644
23 stepmania 1,604
The context switching struggle is real
Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!