C++ Game

Open-source C++ projects categorized as Game

Top 23 C++ Game Projects

  • GitHub repo OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Last months in OpenRCT2 #5 (February 2021) | reddit.com/r/rct | 2021-02-23

    My pick is this one: https://github.com/OpenRCT2/OpenRCT2/pull/12888

  • GitHub repo Cataclysm-DDA

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

    Project mention: Pump action shotguns? | reddit.com/r/cataclysmdda | 2021-02-24

    Anyway, this actually once caused a "but muh realisms" argument back in the old days when I was still a contributor. Basically, a long time ago I added the Sten SMG to the game. I wanted to be able to add the means to craft it, because that's a thing that more or less makes sense. Kevin was hardcore against that, and his reasoning about it being real damn hard to make without machine shop tools makes sense. But at the time, I felt it was odd because there appeared to be craftable semi-auto firearms ALREADY in the game. IRL, semi-auto actions are actually simpler to make than a full-auto-only firearm.

  • Scout

    Get performance insights in less than 4 minutes. 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 magnum

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

    Project mention: Best Vulkan wrapper / low-level graphics library? | reddit.com/r/GraphicsProgramming | 2021-02-09

    (Sorry for a self-promo, hope that's fine.) If you don't mind being an early adopter and use something that's still undergoing heavy development and is not complete yet, I'm building a low-level Vulkan wrapper in Magnum. If you aren't familiar with Magnum yet, it's a C++11 library that has (among other things) a thin OpenGL/GLES/WebGL wrapper that removes the platform-specific extension hell and most of the boilerplate while still allowing you to work with the raw APIs if you need ... and the same is now being done for Vulkan.

  • GitHub repo wesnoth

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

    Project mention: Weekly What Can I Run Thread February 21 2021 | reddit.com/r/lowendgaming | 2021-02-24

    Ancient Domains Of Mystery, Battle for Wesnoth, Beneath a Steel Sky, Braid, Baldur's Gate 1 & 2, Beyond Good & Evil, Call of Duty, Carmageddon 2: Carpocalypse Now, Commandos 2+3, Counter-Strike: Source, Deus Ex, Diablo II, Elder Scrolls III : Morrowind, Empire Earth, Europa Universalis II, Fallout 1/2/Tactics, FlatOut 2, Gothic 2, GTA 3/VC/SA, Ground Control, Half-Life, Hearts of Iron, Hitman 3: Contracts, Homeworld (the classic version, comes with the remastered), IL-2 Sturmovik, Jagged Alliance 2, Machinarium, Mafia (check the PCGamingWiki for how to restore the original music), Majesty, Max Payne 1 & 2, Medal of Honor: Allied Assault, Mount & Blade, Neverwinter Nights (if you have problems with the enhanced ed. the original comes with it and should work), Oddworld: Abe's Exoddus, Planescape: Torment, Praetorians, Prince of Persia: The Sands of Time, Quake 1-3, Rayman 2, Return to Castle Wolfenstein, Shadow Warrior Classic, Sid Meier’s Civilization III (or give Freeciv a go instead), Silent Storm, SimCity 4 Deluxe, Soldier of Fortune II: Double Helix, Starcraft (original, it's the free one), STAR WARS: Knights of the Old Republic, System Shock 2, The Curse of Monkey Island, The Settlers IV, Theme Hospital, Thief, Thief 2, Tom Clancy's Rainbow Six, Tom Clancy's Rainbow Six 3, Tom Clancy's Splinter Cell, Tomb Raider II, Torchlight, Total Anihilation, TrackMania (Nations Forever is the free version, try that first), Warhammer 40,000: Dawn of War, World of Goo, Worms Armaggedon

  • GitHub repo devilutionX

    Diablo build for modern operating systems

    Project mention: It's the late 90s. Everyone thinks the world is ending soon. You and your friends just bought Diablo. A stranger in a pub game shows you what duping is. He gives everyone a Godly Plate of the Whale, Obsidian Ring of the Zodiac, Monster Bat-Bat, and stat elixirs. Life is good. | reddit.com/r/Diablo | 2021-02-23

    There's also https://github.com/diasurgical/devilutionx which will basically allow you to play D1 on a lot more platforms.

  • GitHub repo endless-sky

    Space exploration, trading, and combat game.

    Project mention: Is This Game Still In Development? | reddit.com/r/endlesssky | 2021-02-24

    Sure is. Last commit was two days ago: https://github.com/endless-sky/endless-sky/commits/master

  • GitHub repo GDevelop

    :video_game: GDevelop is an open-source, cross-platform game engine designed to be used by everyone.

    Project mention: Game engine for a 2D, top down, rogue like, pixel art game? | reddit.com/r/gamedev | 2021-02-16

    Or if you'd rather do a bit less coding, Construct 3 or GDevelop? Both of those are decent 2D engines with visual scripting. You can also try out both of them in the browser, so you can decide if you like them without having to download anything. (There are full local versions too, it's just convenient to be able to test something really quickly in a browser to see if you like it).

  • GitHub repo 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: Sponsored by Raid Shadowlegends | reddit.com/r/dankmemes | 2021-02-20

    The Powder Toy is a great sandbox but not like gmod, its 2d and you get elements and other materials

  • GitHub repo EpicSurvivalGameSeries

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

    Project mention: Updated the open-source C++ Survival Game with a refreshed map (available on GitHub) | reddit.com/r/unrealengine | 2021-01-22

    direct link to GitHub: https://github.com/tomlooman/EpicSurvivalGameSeries

  • 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 is the best way to optimize this game on my potato? | reddit.com/r/lowendgaming | 2021-01-31

    Info & downloads: https://github.com/Warzone2100/warzone2100/blob/master/README.md#latest-development-builds

  • GitHub repo Teeworlds

    A retro multiplayer shooter

  • GitHub repo OpenJK

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

    Project mention: Compiling OpenJK | reddit.com/r/linux_gaming | 2021-01-23

    I am hoping he is referring to this :) https://github.com/JACoders/OpenJK Which is an open source version of the starwars jedi knight academy games.

  • GitHub repo bwapi

    Brood War API

    Project mention: What is a project I could program within 5K lines of code in Java? | reddit.com/r/learnprogramming | 2021-01-26
  • GitHub repo stepmania

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

    Project mention: [Linux] Preferences.ini keeps resetting itself | reddit.com/r/Stepmania | 2021-02-24

    Can you try upgrading to 5.1.0-b2? This is the latest stable (despite the "beta" name) release of StepMania before 5.3. On Linux, you will need to compile it from source (compilation instructions are provided, but use git clone --branch v5.1.0-b2 --depth=1 https://github.com/stepmania/stepmania.git instead of git clone --depth=1 https://github.com/stepmania/stepmania.git in step 2 otherwise you'll get the latest unstable version of the code rather than the 5.1.0-b2 release).

  • GitHub repo OpenXcom

    Open-source clone of the original X-Com 👽

    Project mention: Any other games that are in constant development? | reddit.com/r/cataclysmdda | 2021-02-14
  • GitHub repo forgottenserver

    A free and open-source MMORPG server emulator written in C++

    Project mention: Getting Started With Game Dev | reddit.com/r/gamedev | 2021-02-17
  • GitHub repo pioneer

    A game of lonely space adventure

    Project mention: Looking for Approachable Open Source Projects to Contribute to | reddit.com/r/cpp | 2021-02-02

    pioneerspacesim

  • GitHub repo Textractor

    Extracts text from video games and visual novels. Highly extensible.

    Project mention: Text Hooking Sakura, Moyu | reddit.com/r/visualnovels | 2021-02-09

    Hmm. Okay. I tried ITHVNR with the latest vn that I have and encountered the same problem. I think you're better off using Textractor since it's updated to work with the latest titles.

  • GitHub repo Gopher360

    Gopher360 is a free zero-config app that instantly turns your Xbox 360, Xbox One, or even DualShock controller into a mouse and keyboard. Just download, run, and relax.

    Project mention: Feature Request: ability to use controller as mouse. | reddit.com/r/ShadowPC | 2021-02-04

    You can use gopher360 https://github.com/Tylemagne/Gopher360/releases/tag/v0.989 It is pretty handy

  • GitHub repo open-builder

    Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server

    Project mention: Some early gameplay from my voxel game: Wanderers | reddit.com/r/VoxelGameDev | 2020-12-28

    For example, in this Notch article, he discussed using trilinear interpolation to speed up noise evaluation as well as to smooth out rough parts. But I tested, and both of his problems actually came mostly from using too many noise octaves. Minecraft used 16 octaves for each noise channel, and 8 octaves for the blending noise, when just 5-6 and 2-3 would be enough. The rest of the speed problems could be solved by implementing something to skip noise evaluations when they wouldn't matter, at least above/below max/min biome height if not dynamic octave skipping. See this screenshot difference.

  • GitHub repo freeorion

    Source code repository of the FreeOrion project.

    Project mention: Any other games that are in constant development? | reddit.com/r/cataclysmdda | 2021-02-14
  • GitHub repo OpenLoco

    An open source re-implementation of Chris Sawyer's Locomotion

    Project mention: OpenTTD is coming to Steam. | reddit.com/r/Games | 2021-02-05
  • GitHub repo fheroes2

    Free implementation of Heroes of Might and Magic II game engine

    Project mention: Free Heroes of Might and Magic II 0.9 released | reddit.com/r/opensourcegames | 2021-02-04
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-02-24.

Index

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

Project Stars
1 OpenRCT2 9,137
2 Cataclysm-DDA 4,919
3 magnum 3,364
4 wesnoth 3,120
5 devilutionX 2,995
6 endless-sky 2,671
7 GDevelop 2,626
8 The-Powder-Toy 2,408
9 EpicSurvivalGameSeries 2,027
10 warzone2100 1,562
11 Teeworlds 1,552
12 OpenJK 1,547
13 bwapi 1,431
14 stepmania 1,288
15 OpenXcom 1,284
16 forgottenserver 1,011
17 pioneer 971
18 Textractor 644
19 Gopher360 551
20 open-builder 550
21 freeorion 497
22 OpenLoco 463
23 fheroes2 358