# Castlekeep: a Stronghold 1 engine reimplementation

> Castlekeep reimplements Stronghold 1 as a C++ game engine. Its code initializes a world, loads assets, generates terrain and renders it through an SDL2 platform layer and OpenGL renderer.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/leidav/Castlekeep>
- Primary source: <https://github.com/leidav/Castlekeep/blob/aafceb6b13c43866976aaf71ce33db1f37e6cd44/README.md>
- Catalog page: <https://awesomerea.org/resources/castlekeep-stronghold-case/>
- Record JSON: <https://awesomerea.org/resources/castlekeep-stronghold-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/castlekeep-stronghold-case/index.md)

## Requirements & limits

- **Prerequisites:** CMake 3.9 or newer, SDL2, OpenGL, LibEpoxy and PNG support are required.
- **License:** GPL-3.0 license.

## Primary sources

1. <https://github.com/leidav/Castlekeep/blob/aafceb6b13c43866976aaf71ce33db1f37e6cd44/README.md>
2. <https://github.com/leidav/Castlekeep/blob/aafceb6b13c43866976aaf71ce33db1f37e6cd44/src/game/game.cpp>
3. <https://github.com/leidav/Castlekeep/blob/aafceb6b13c43866976aaf71ce33db1f37e6cd44/CMakeLists.txt>

## More in Games

- [Chariot: Age of Empires engine reimplementation](https://awesomerea.org/resources/chariot/index.md) · Case study
- [Chicken Invaders 1: rebuilding the 1999 game](https://awesomerea.org/resources/chicken-invaders-1-case/index.md) · Case study
- [Chocolate Strife: reconstructing Strife from its DOS executable](https://awesomerea.org/resources/chocolate-strife-case/index.md) · Case study
- [Chronon: reimplementing Anachronox on Quake 2](https://awesomerea.org/resources/chronon-case/index.md) · Case study
- [Chronoshift: incrementally rebuilding Command & Conquer: Red Alert](https://awesomerea.org/resources/chronoshift-red-alert-case/index.md) · Case study
- [ChronoStorm: reimplementing the Red Alert 2 and Yuri’s Revenge engines](https://awesomerea.org/resources/chronostorm/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
