Since the basic theory of the discontinue deformation analysis (DDA) method was proposed, the DDA open source has gone through a long development process. At present, different kinds of programs have been widely applied in rock mass engineering such as slope, dam, and tunnel. This paper introduces the solution principle of DDA motion equations in detail, as well as the development status of the 2D open-source program. Numerical simulation of shaking table test of rock mass engineering using 2D DDA program is highlighted, and investigations of seismic wave pre-processing and seismic input method are carried out. First, based on the Newmark integration scheme, the integration algorithms of synthetic or measured seismic wave time history, correction function of seismic wave, and DDA simulation are unified. Then, three seismic input methods are implanted in the DDA program, and the applicability of various seismic input methods is discussed. On this basis, using the improved seismic 2D DDA program, a shaking table test of typical rock mass engineering is simulated. Through the comparison between the theoretical/test data and simulation results, the reliability of the improved DDA program in seismic response analysis is verified; the large mass method and the large stiffness method are more suitable for rigid foundation, such as shaking table test; the propagation of the seismic wave presents a significant amplification effect due to the reflection, refraction, and diffraction in the tunnel. The research results provide DDA theory and an open-source program for analyzing the seismic response of rock mass engineering.