Underground structures usually consist of rock masses or concretes which can be cracked or have cracks. This study aims to develop an analysis program which can deal with the effect of discontinuous behavior due to those cracks using the block theory. It is assumed that rock masses form blocks along the discontinuity lines, and deformation within the block is relatively small. The behavior of discontinuity plane of the structures is divided into sliding along the discontinuity plane. separation of discontinuity by tensile force, and degradation of asperity angle of discontinuity plane by external force with sliding of rock Basses. These behaviors are implemented using constitutive relation and relevent load-displacement relation defined through normal and shear stiffnesses. Time varying displacements and block velocities are calculated by explicit time stepping algorithm. The effect of rock supports including rockbolts is also considered, and the tending effects which occurs in relatively thin lining is also considered.