If you have a suitably interested child, this could provide a fun bridge to constraint based programming.
https://a.co/d/duMgX8q
https://a.co/d/duMgX8q