Mayordomo.Core 1.0.20261004.22

dotnet add package Mayordomo.Core --version 1.0.20261004.22
                    
NuGet\Install-Package Mayordomo.Core -Version 1.0.20261004.22
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mayordomo.Core" Version="1.0.20261004.22" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mayordomo.Core" Version="1.0.20261004.22" />
                    
Directory.Packages.props
<PackageReference Include="Mayordomo.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mayordomo.Core --version 1.0.20261004.22
                    
#r "nuget: Mayordomo.Core, 1.0.20261004.22"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mayordomo.Core@1.0.20261004.22
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mayordomo.Core&version=1.0.20261004.22
                    
Install as a Cake Addin
#tool nuget:?package=Mayordomo.Core&version=1.0.20261004.22
                    
Install as a Cake Tool

Mayordomo Engine

English (canonical) · Español (México)

Mayordomo Engine is an open-source-from-day-one, MIT-licensed, reusable, deterministic, server-authoritative board-game engine.

The repository is public. Its code, governance, contribution model, and history are maintained as open-source/public-safe from inception.

Mayordomo — El juego que no es un juego is the first real commercial product used to prove the engine, but the engine does not know that Mayordomo exists.

Product repositories know the engine. The engine never knows its products.

Status

1.0 release hardening. The public package identity is Mayordomo.Core; release candidates are validated from packed .nupkg artifacts before publication.

NuGet

After the supported 1.0 release is published:

dotnet add package Mayordomo.Core

Package consumers receive the MIT-licensed engine assembly, package README, portable symbols through the companion .snupkg, and Source Link metadata for source-level debugging.

Why this engine exists

The engine was born from a concrete problem: digitize a real board game without turning its rules, clients, content, networking, and authoring tools into one inseparable application.

That constraint produced a stronger goal:

Build a board-game engine so small, fast, deterministic, and easy to consume that another developer can adopt it without adopting our product.

Mayordomo proves the engine against a demanding real game. Future original or properly licensed games should be able to consume the same reusable core without teaching the core their brand vocabulary.

Open-source promise

This repository is MIT-licensed from inception.

Open source here means more than exposing source code later:

  • public-safe Git history from the first engineering increments;
  • contributor governance and DCO;
  • reproducible build/test contracts;
  • documented architecture decisions;
  • no proprietary Mayordomo content hidden in old commits;
  • no reverse dependency on the private product;
  • measurable footprint/performance budgets.

See LICENSE, NOTICE.md, and CONTRIBUTING.md.

Repository split

PRIVATE PRODUCT
ChicoDotNet/Mayordomo.Game
  ├── Mayordomo ruleset and product logic
  ├── official/authorized content and brand assets
  ├── Mayordomo Studio
  ├── React web client
  ├── Unity client
  ├── Avalonia desktop client
  └── commercial integrations
                │
                │ consumes
                ▼
OPEN-SOURCE ENGINE
ChicoDotNet/Mayordomo
  ├── deterministic game execution
  ├── turn/phase/state primitives
  ├── legal-action contracts
  ├── deterministic randomness
  ├── command/event/replay primitives
  ├── simulation and invariant tooling
  └── reusable public contracts

The dependency is intentionally one-way.

Mayordomo.Game → Mayordomo Engine is allowed.

Mayordomo Engine → Mayordomo.Game is prohibited.

See ADR 0001.

Small and fast by contract

"Small and fast" is an engineering budget, not a slogan.

Initial Core budgets:

  • design target: Mayordomo.Core.dll ≤ 256 KiB in Release;
  • hard CI ceiling: ≤ 512 KiB;
  • mandatory third-party runtime dependencies in Core: 0;
  • headless execution is mandatory;
  • performance baselines become release gates once the first meaningful command/state walking skeleton exists;
  • published benchmarks must identify runtime, machine/runner, engine SHA, scenario, throughput, latency, and allocations.

A larger feature is not automatically better if it makes every game carry weight it does not use.

See Performance and footprint and ADR 0002.

Architectural north star

The engine must remain:

  • deterministic;
  • replayable;
  • server-authoritative;
  • headless-testable;
  • tiny enough to embed comfortably;
  • dependency-light;
  • independent from UI technology;
  • independent from persistence/cloud vendors;
  • independent from branded game content;
  • useful to a second properly licensed game without changing the engine merely to teach it brand vocabulary.

Read the clean-room board-game engine architecture.

Current executable foundation

Mayordomo.slnx
├── src/
│   └── Mayordomo.Core/
└── tests/
    └── Mayordomo.Core.Tests/

The current project name may evolve as real slices justify stronger module boundaries. Do not perform speculative mass renames solely to match a diagram.

Build and test

The .NET SDK is pinned in global.json.

dotnet restore Mayordomo.slnx
dotnet build Mayordomo.slnx --configuration Release --no-restore
dotnet test Mayordomo.slnx --configuration Release --no-build
node scripts/check-engine-budget.mjs
node scripts/check-public-readiness.mjs

See Development Guide.

TDD

New behavior follows:

RED → GREEN → REFACTOR → CERTIFY

Compatibility work follows:

PRESERVE → REPLAY → DIVERGE → EXPLAIN → FIX → VERIFY → REPEAT → PROMOTE

The test judges the implementation. Expected behavior is never rewritten merely to make a failing implementation pass.

Delivery model

working branch
    ↓ squash
   dev
    ↓ squash
   main
    ↓ regular content-neutral merge
   dev

Working branches use features/*, bugs/*, releases/*, hotfixes/*, or tags/* and are retained by default as detailed delivery history.

Read CONTRIBUTING.md and AGENTS.md before changing behavior.

Public/private boundary

This repository may contain reusable engine source, public contracts, generic deterministic tooling, synthetic fixtures, tests, simulations, CI, benchmarks, and redistribution-safe documentation.

It must not contain private Mayordomo.Game rules implementation, Studio code, official/private cards, licensed brand assets, secrets, or private player/customer data.

See NOTICE.md.

Roadmap

The engine roadmap is driven by real product pressure:

  1. deterministic walking skeleton;
  2. command/event transition and explicit revisions;
  3. turn/phase model and legal actions;
  4. deterministic RNG and replay;
  5. headless simulation/invariants;
  6. application/protocol boundary required by Mayordomo.Game;
  7. measurable size/performance baselines;
  8. package/release hardening.

See Roadmap.

Project site

The GitHub Pages site lives in docs/site and tells the engine's story, architecture boundary, adoption philosophy, and measured footprint/performance.

Contributing

Contributions use DCO sign-off and must preserve determinism, clean-room provenance, TDD evidence, the one-way product dependency, small-footprint budgets, and public-safe history.

See:

Licensing

Repository software and documentation authored for this project are MIT-licensed unless a file explicitly says otherwise.

The license does not grant rights to the Mayordomo product identity or any third-party game, trademark, character, artwork, audio, card text, board artwork, or licensed content.

See LICENSE and NOTICE.md.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.20261004.22 136 10/4/2026
1.0.20261004.21 101 10/4/2026
1.0.20261004.20 105 10/4/2026
1.0.20261004.19 103 10/4/2026
1.0.20261004.17 132 10/4/2026
1.0.20261004.16 880 10/4/2026