Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

The stack is a common system for managing the order events resolve in. It is used as the foundation of event resolution in Magic: the Gathering and many other games. Please also tag with the appropriate game tag, e.g. [magic-the-gathering].

Based on the data structure of the same name, the stack is a system for organizing the resolution of actions in many games where players have the ability to "react" to events in a way that the response resolves before the initial event, e.g. .

The main characteristic of the stack is it's last-in first-out (LIFO) property.

history | excerpt history