You may enjoy browsing and reading the code of:
- http://www.serenityos.org/ (Andreas Kling)
- https://godotengine.org/ (Juan Linietsky)
Those are among my favorites because of simplicity and readability vs the complexity of the domain they implement.