Leonid PershinandClaude Opus 4.8 bc18db5df6
CI / build-test (push) Successful in 1m17s
Add gene foundation: GeneDef, Genome, trait phenotype (Content)
The organism-agnostic core of the gene system, built on the formula
engine. GeneDef is a def describing a gene's kind (numeric/discrete),
allele generation range/spread, mutation, variant distribution and its
effects on named traits as formulas. Genome is a managed, variable-
composition map (geneId -> Allele pair): generated from a gene set, bred
meiotically with per-gene mutation, expressed to a phenotype (numeric
mean / discrete lower-allele dominance); open composition allows hybrids.
Phenotype.Compute aggregates each gene's effect formulas into a trait
map (variable `value` = the gene's expressed phenotype, other gene ids
and an environment context resolve too), so systems read traits, never
genes.

Nothing here is species-specific. Def JSON now supports string-named
enums (JsonStringEnumConverter) so a gene's kind reads as "Discrete".
Covered by GeneticsTests (generation/expression/breeding/traits) and
GeneDefLoadTests (GeneDef through the real DefDatabase).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 23:43:01 +03:00
2026-06-10 23:50:05 +00:00
2026-06-10 23:50:05 +00:00

mrgameeng

Cross-platform 2D game engine built on MonoGame 3.8.4 (DesktopGL) and Friflo.Engine.ECS — ECS-first, .NET 8, C#.

Developer documentation (Russian): docs/architecture.md, docs/roadmap.md.

Showcase: the LittleSim game — a god-sim built on this engine (vendored there as the engine/ submodule) that demonstrates every engine feature.

License

MIT — see LICENSE.

S
Description
No description provided
Readme MIT
1 MiB
Languages
C# 100%