Difference between revisions of "Stack"

From The Dim Future Wiki
(Do some unfinished work on the definition of the stack.)
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.
 
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.
 +
 +
{{needs work|This is now a total mess. I will get back to it}}
  
 
The process of a single stack can be described as follows:
 
The process of a single stack can be described as follows:
 
* Stack():
 
* Stack():
 
** The [[player]] with [[initiative]] becomes the [[active player]].
 
** The [[player]] with [[initiative]] becomes the [[active player]].
** Stacklet()
+
** Stacklet(0)
  
* Stacklet():
+
* Stacklet(num_passes):
 
** The [[active player]] may play an action (putting it on top of the stack) or pass.
 
** The [[active player]] may play an action (putting it on top of the stack) or pass.
 
** If they pass:
 
** If they pass:
 
*** The next player becomes the [[active player]].
 
*** The next player becomes the [[active player]].
*** Stacklet()
+
*** 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.
  
*** Stacklet()
 
** Remove the top action on the stack and resolve it.
 
**
 
  
 
# The [[player]] with [[initiative]] becomes the [[active player]].
 
# The [[player]] with [[initiative]] becomes the [[active player]].

Revision as of 21:07, 27 January 2007

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.

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

This is now a total mess. I will get back to it

The process of a single stack can be described as follows:

  • 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.


  1. The player with initiative becomes the active player.
  2. They may play any number of actions. When they are done they pass.
  3. Now the next player becomes the active player.
  4. Repeat 2 and 3 until all players pass in succession without playing any actions.
  5. Resolve the action on the top of the stack. If there is no action on the stack, skip to step 7.
  6. Start again at 1.
  7. The stack is over and a new stack is started with initiative shifted one player to the left.
  8. If a stack is started and neither player wishes to play the initial action, the phase is over.

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.