A computer simulation that is useful for teaching certain principles of learning is called Sniffy the Virtual Rat.
This interactive software program gives students a virtual laboratory experience. The goal is to demonstrate most of the major conditioning phenomena discussed in textbooks on the psychology of learning.