  We report several simulation programs which can be used to teach the
statistical foundation of thermal physics in the introductory college physics
courses. These programs are simple applications of a technique of generating
random configurations of many dice with fixed total value. By simulating dice
throwing only we can demonstrate all the important principles of classical
thermodynamics.
