A
random encounter is a feature commonly used in various
role-playing games whereby encounters with
non-player character (NPC) enemies or other dangers occur sporadically and at random. In general, random encounters are used to simulate the challenges associated with being in a hazardous environment—such as a
monster-infested
wilderness or
dungeon—with uncertain frequency of occurrence and makeup (as opposed to a "placed" encounter). Frequent random encounters are common in games like
Dragon Quest,
Legend of Legaia,
Pokémon and the
Final Fantasy series.