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: OpenRCT2 Update 0.4.6 Released | news.ycombinator.com | 2023-09-03
  • tiled

    Flexible level editor

    Project mention: How to build maps efficiently | /r/gamedev | 2023-11-27

    A more sophisticated approach may be to use something like Tiled (https://www.mapeditor.org), but it typically takes a lot of code to to parse a Tiled map, so I wouldn’t start there. The exact needs of your game will dictate the approaches you use. Starting simple means you can make good, visible progress getting your game to work. And I’m sure that plenty of real games have shipped where the levels are just text files.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • Cataclysm-DDA

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

    Project mention: Changelog from the last week [13 - 20 Oct] | /r/cataclysmdda | 2023-10-22

    Content: * Revamp foldable solar panels by ehughsbaird * Add the starting profession by Lupotech-CDDA * Give Eddie some more personality. by MNG-cataclysm * Stockings variants by gettingusedto * Gives the drop hammer an anvil quality. by Daved27hundred * Cattail can be planted in shallow water by Light-Wave * Adds a small onpause buff to Brawling by Termineitor244 * Add a variant of standing stones for fields by John-Candlebury * Added a new loadout to start as an EOD technician by kingjosh-1120 * HWP breacher configuration by GuardianDll

  • devilution

    Diablo devolved - magic behind the 1996 computer game

    Project mention: Open source Diablo 1 engine – DevilutionX 1.5.0 released | news.ycombinator.com | 2023-06-17

    Reverse engineered from some partial leaks: https://github.com/diasurgical/devilution#introduction

  • devilutionX

    Diablo build for modern operating systems

    Project mention: I'm shrarch for a mod who changes the language to Spanish but not changed anything more | /r/Diablo | 2023-09-17
  • OpenTTD

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

    Project mention: 6 free games updated in the last 60 days | /r/lowendgaming | 2023-07-08

    #6 - OpenTTD - Transport Tycoon Deluxe... with multiplayer.... it has the most Win98 Interface, but once you get past that... this is the best and most amazing free sim tycoon game you will ever find.

  • azerothcore-wotlk

    Complete Open Source and Modular solution for MMO

    Project mention: 2009scape – Runescape in 2009 | news.ycombinator.com | 2023-08-18

    Cool, I didn't realize Runescape private servers were a thing still.

    I contribute to AzerothCore[0] pretty regularly. There's a lot of improvements that could be made, but it's overall fun and the majority of people who frequent their Discord are friendly enough.

    [0] https://github.com/azerothcore/azerothcore-wotlk

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • wesnoth

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

    Project mention: Hello do you guys know a free game to just chill with my friend. | /r/gamingsuggestions | 2023-07-10

    I don't think there's much in terms of managerial/4x f2p games (afaik)...closest thing that comes to mind would be The Battle for Wesnoth which I wouldn't recommend for "turning off" your brain.

  • endless-sky

    Space exploration, trading, and combat game.

    Project mention: Naev – open-source game about space exploration, trade and combat | news.ycombinator.com | 2023-11-25

    Sounds very similar to Endless Sky[1] - another open source game drawing on the old Escape Velocity games. I really enjoyed both Endless Sky and the Escape Velocity games, so I'll have to check out Naev at some point!

    [1] https://endless-sky.github.io/

  • magnum

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

    Project mention: Want to a 3D game without a game engine but not having to deal with opengl stuff ? | /r/gamedev | 2022-12-09


  • 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: Orb Farm | news.ycombinator.com | 2023-05-19

    I love these kinds of sandbox games, Orb Farm was super nice to have it running directly in the browser for a little procrastination break. Although my favorite is probably The Powder Toy [0], I've been following this project for years.

    [0] https://powdertoy.co.uk/

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

  • vcmi

    Open-source engine for Heroes of Might and Magic III

    Project mention: VCMI: Open-Source Engine for Heroes of Might and Magic III | news.ycombinator.com | 2023-09-19
  • EpicSurvivalGame

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

  • ActionRoguelike

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

    Project mention: So You've Decided to Move from Unity to Unreal Engine | news.ycombinator.com | 2023-09-14

    A course that finally made Unreal "click" for me, after years of toying with it, was Tom Looman's 'Professional Game Development in C++ and Unreal Engine' course. The source for what you build (with the chapters available in the git history) is here. [1] It was based on a class he taught and so also includes homework, which I found infinitely more valuable than just following along in a 'Here's how to [x].' type lesson.

    [1] - https://github.com/tomlooman/ActionRoguelike

  • 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: Been wanting to get into real time strategy | /r/RealTimeStrategy | 2023-12-01
  • fheroes2

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

    Project mention: Show HN: Play Heroes of Might and Magic II demo from 1996 in the browser | news.ycombinator.com | 2023-11-28

    Emscripten port https://github.com/midzer/fheroes2 took me over 24 hours due removal of multi-threaded code - and rather slow compile laptop. Currently Browser Audio API can't run in a worker at all. PThreads are stable in Emscripten but can make issues for example if main thread is blocked via mutexes.

    Based on Original port https://github.com/ihhub/fheroes2 THX!

  • corona

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

    Project mention: LÖVE: a framework to make 2D games in Lua | news.ycombinator.com | 2023-09-13
  • Teeworlds

    A retro multiplayer shooter

    Project mention: This open source game is being marked as proprietary | /r/Fedora | 2023-03-05

    It's a modied bsd license from what I see. https://github.com/teeworlds/teeworlds/blob/master/license.txt

  • ozz-animation

    Open source c++ skeletal animation library and toolset

  • OpenJK

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

    Project mention: Microsoft could cram more ads into Windows 11 – this time in the Settings app | Recent moves with the Start menu are now being echoed within the Settings panel in testing | /r/technology | 2023-05-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: recommendations - settlers like games? | /r/Settlers | 2023-04-28
  • OpenXcom

    Open-source clone of the original X-Com 👽

    Project mention: XcomUtil | news.ycombinator.com | 2023-11-15

    Love(ed) that game.

    Always wonder where they get their "recruits", who seem to have trouble with aiming their weapons towards the enemy.

    There's an open-source & cross platform remake of the engine. You still need the original game assets.

    Easy to mod - he config files are YAML.


  • SaaSHub

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

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 2023-12-01.

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 12,461
2 tiled 10,228
3 Cataclysm-DDA 9,166
4 devilution 8,577
5 devilutionX 7,283
6 OpenTTD 5,425
7 azerothcore-wotlk 4,898
8 wesnoth 4,778
9 endless-sky 4,637
10 magnum 4,567
11 The-Powder-Toy 4,073
12 NoahGameFrame 3,838
13 vcmi 3,619
14 EpicSurvivalGame 3,047
15 ActionRoguelike 2,946
16 warzone2100 2,853
17 fheroes2 2,315
18 corona 2,307
19 Teeworlds 2,204
20 ozz-animation 2,116
21 OpenJK 1,890
22 widelands 1,848
23 OpenXcom 1,759
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives