Fun fact, I was actually part of the educational arm of that project. They reached out to me and a few other modders (we were a team of I want to say like 6 people or so) to make a KSP mod to simulate the mission for the purposes of teaching children, which we did. It didn't get much coverage vs the real event of course, but I'm still proud:
DART Range Background What should we do if we find a dangerous asteroid on course to hit Earth? There are a number of possible deflection techniques, ranging from extreme (a nuclear blast) to benign (a heavy spacecraft uses gravity to nudge the asteroid off-course). Somewhere in between is the ki...
forum.kerbalspaceprogram.com
Did you know that NASA has a planetary defense program that protects the Earth? There are over 26,000 known near-Earth objects (NEOs) according to NASA’s Center for Near Earth Object Studies. NEOs are basically asteroids or comets whose orbit brings them within a zone approximately 195 million ...
forum.kerbalspaceprogram.com
My contribution to the project was primarily the adapting of the orbital math for KSP's simplified view of physics (it isn't a n-body game sadly, so I had to develop/adapt a collision framework and scenario that was reasonably close using 2-body formula and I think I did an alright job).
I still maintain this framework externally, though it's used more for introducing entire third party solar systems to the game now rather than DART-style missions:
Kopernicus is a mod for Kerbal Space Program which allows users to replace the planetary system used by the game. - Kopernicus/Kopernicus
github.com