The ECS that ♥️'s you back!
A fresh, foxy, & free open source C# Entity Component System, for amazing games and simulations!
Yet, in the tiniest of nutshells:
... this one hits different.
fennecs is an archetype-based C# Entity-Component System library. It targets .NET 9 and is distributed as a prebuilt nuget package or in source code on GitHub. The broader term ECS describes a family of architectures and design patterns most commonly used in Game Development and Simulation Software, applying various principles of Data-Oriented Design to leverage the capabilities of modern CPUs.
fennecs strictly adheres to its design principles of reducing boilerplate and cognitive load first and foremost. Second, we explore innovative approaches to structuring and querying component data without sacrificing flexibility.
Furthermore, fennecs allows developers to mix and match the advantages of procedural, functional, and SIMD programming, as well as to follow both compositional and inheritance-based approaches to domain modeling.
Doing all this with literally zero dependency baggage sets fennecs apart from many bulkier, more rigid, or more opinionated libraries.
Beyond its goals for simplicity and flexibility, you may discover that fennecs still punches way above its weight in terms of performance. Our cheeky little library lives up to its name by all at once being small, clever, quick, and full of delightfully terrible puns!