Quark-hadron phase transition at the end of evolution of the dense matter created in heavy-ion collisions is studied with particular attention given to the fluctuation of spatial patterns that is expected in a second-order phase transition, as found in the Ising model. Since QCD thermodynamics cannot easily be applied at low temperature and density, an event generator is constructed to simulate the dynamical properties of contraction due to confinement forces, and randomization due to the thermal behavior of a large quark system on the edge of ...