Leonid PershinandClaude Opus 4.8 d044cafad9
CI / build-test (push) Successful in 1m12s
Regex tooling: formula gene grouping, content patches, def validation
Three regex-powered content tools (phase G5):

- Formula group functions gsum/gcount/gavg/gmin/gmax('regex') aggregate
  over every context variable whose name matches the pattern, e.g.
  gsum('leaf_.*'). Adds string literals to the formula grammar and an
  IFormulaContext.ResolveMatching hook; GenomeContext enumerates matching
  genes, so a trait can sum/average a gene group.
- DefDatabase content patches: a { "type": "Patch", patches:[{ defType,
  match (regex on defName), set:{fields} }] } file sets fields on every
  matching raw def before resolution — mods patch Core in bulk.
- DefDatabase.RegisterValidator(typeKey, field, regex): load-time check
  that a string field matches a pattern, throwing otherwise (naming/format
  conventions).

Covered by FormulaTests (group aggregation, composition, bad calls) and
DefDatabaseTests (patch set/match/unknown-type, validator pass/reject).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 03:59:36 +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%