Solving the dark-matter problem through dynamic interactions