Add level 11: Advanced Anchors

`shapes:` list defines 2-3 polygons (name + sides + interior angle sum);
`copies:` is a list of 3-4 selections (with possible repetition) drawn
from the same pool. serde_yaml expands aliases on parse, so the target
is the inlined form; players using `- &name` anchors inside the list
and `*name` aliases in `copies:` produce the same Value and pass via
the semantic short-circuit.

All randomised per seed (ChaCha8Rng XOR'd with 0x..0B).

Not wired into levels::registry() yet — integration belongs to a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-21 22:59:44 +03:00
2 changed files with 142 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ pub mod l07_complex;
pub mod l08_tags;
pub mod l09_operators;
pub mod l10_dynamic;
pub mod l11_adv_anchors;
use serde::{Deserialize, Serialize};