
A game mechanic is a rule or set of rules intended to produce an enjoyable set of outcomes in a game. Complex games, such as role-playing games, are built using a large number of interlocking game mechanisms. The entirety of the game experience or set of game mechanics is called game play.