Difference between revisions of "Stack"

From The Dim Future Wiki
(Do some unfinished work on the definition of the stack.)
(Use a flow chart to describe the stack. Remove old descriptions.)
Line 1: Line 1:
The '''stack''' is a zone of play and the process of using it. Whenever a player [[#Playing|plays]] an [[action]] it is put on top of the stack.
+
[[Image:StackFlowchart.png|right]]
  
{{needs work|This is now a total mess. I will get back to it}}
+
The '''stack''' is a zone of play and the process of using it. Whenever a player [[#Playing|plays]] an [[action]] it is put on top of the stack. The flow chart to the left describes the working of the stack.
  
The process of a single stack can be described as follows:
+
{{-}}
* Stack():
 
** The [[player]] with [[initiative]] becomes the [[active player]].
 
** Stacklet(0)
 
 
 
* Stacklet(num_passes):
 
** The [[active player]] may play an action (putting it on top of the stack) or pass.
 
** If they pass:
 
*** The next player becomes the [[active player]].
 
*** If (num_passes+1) < number of players in the game:
 
**** Stacklet(num_passes+1)
 
** Else:
 
*** Stacklet(0)
 
** Remove the top action on the stack and resolve it.
 
 
 
 
 
# The [[player]] with [[initiative]] becomes the [[active player]].
 
# They may play any number of actions. When they are done they pass.
 
# Now the next player becomes the [[active player]].
 
# Repeat 2 and 3 until all players pass in succession  without playing any actions.
 
# [[#Resolution|Resolve]] the action on the top of the stack. If there is no action on the stack, skip to step 7.
 
# Start again at 1.
 
# The stack is over and a new stack is started with [[initiative]] shifted one [[player]] to the left.
 
# If a stack is started and neither player wishes to play the initial action, the [[phase]] is over.
 
  
 
=== Playing ===
 
=== Playing ===
Line 40: Line 17:
 
The effect of an [[action]] (as defined by the rules of the game and the text of the card) is enacted. The effects of an action occur in the order printed on the card (or defined in the rules) and nothing else can happen during the resolution of an action. This includes [[instantaneous effect]]s like characters going to the discard pile because of damage.
 
The effect of an [[action]] (as defined by the rules of the game and the text of the card) is enacted. The effects of an action occur in the order printed on the card (or defined in the rules) and nothing else can happen during the resolution of an action. This includes [[instantaneous effect]]s like characters going to the discard pile because of damage.
  
 +
 +
{{needs work|Needs to be check for sanity}}
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]

Revision as of 16:19, 4 March 2007

StackFlowchart.png

The stack is a zone of play and the process of using it. Whenever a player plays an action it is put on top of the stack. The flow chart to the left describes the working of the stack.


Playing

The process of putting an action on the stack. To do this the player must be the active player, must control a leader and must:

  1. Display the card they are playing.
  2. Deduct the energy cost of the action and pay any other costs.
  3. Place the card on the stack (usual just the middle of the table).

Resolution

The effect of an action (as defined by the rules of the game and the text of the card) is enacted. The effects of an action occur in the order printed on the card (or defined in the rules) and nothing else can happen during the resolution of an action. This includes instantaneous effects like characters going to the discard pile because of damage.


Note: This page needs to be updated to reflect changes in the game or need to be worked on for other reasons.

Needs to be check for sanity