When children test their own boundaries in thrilling play, they develop self-confidence, resilience and risk management skills.