Proposal: The Monkey Tree
Adminned at 04 Aug 2007 11:24:20 UTC
If Proposal: Arrays and StacksBa did not pass, then:
1. Remove the rule called “The Monkey Line”.
2. Create a new rule called “Status” with the text:
Each Monkey has a Status tracked in the GDNT which is either In the Line, or In the Tree. The default status is In the Line. As a daily action, any Monkey may change their status to any of the allowed statuses.
3. Set the Status of all Monkeys to In the Line.
4. Add a subrule to “Status” with the text:
The Monkey Line is an endless line of chalk squares (known as â€œPositions”), each of them numbered, starting from one and going up. Each monkey whose status is â€œIn the Lineâ€ appears once and only once in The Monkey Line. The Monkey Line is tracked in a wiki page called â€œMonkey Dynasty Gamestate Documentsâ€. Position one is known as the top of the list. Each Position may contain one or more Monkeys, or be empty. Whenever a Monkey joins the game or has eir status changed back to â€œIn the Lineâ€, they are placed in the lowest numbered empty Position. Whenever a Monkey has eir status set to something other than the Monkey Line or goes idle, they are removed from the monkey line and their position becomes empty.
If a Position is empty (and a later Position has a Monkey in it), or if a Position has more than one Monkey in it, then the Line is Unbalanced.
If a Position is empty, but the position immediately after it has a single Monkey in it, then any Monkey may move that Monkey into the empty position.
If a Position has two Monkeys in it, then any Monkey may increment the Position of every Monkey after that Position, and place the alphabetically-earliest of the two Monkeys into the newly vacated Position.
If Proposal: Arrays and StacksBa did pass then reword the first sentence of the rule “Status” to read:
Each Monkey has a Status tracked in the GDNT which is either In the Line, In the Barrel, or In the Tree. The default status is In the Line.
and remove the last sentence of “The Monkey Line” and add the following sentence to the end of the “Status” rule:
As a daily action, any Monkey may change their status to any of the allowed statuses.
In either case, then add a subrule called “The Monkey Tree” to the rule “Status” with the text:
The Monkey Tree is an endless tree made of Nodes, each of which can be termed a Root, a Junction, or a Leaf. The Nodes may each contain zero or more Monkeys. No Monkey may occupy more than one Node of the tree at a time. The Monkey Tree is tracked on the wiki page called “Monkey Dynasty Gamestate Documents”.
There is one Node of the Monkey Tree which is known as the Root. The Root is always a part of the Monkey Tree. If the Root contains no Monkeys, the tree is Empty, and the Root contains no Branches. If the Root contains any Monkeys, than it has two Branches; a Left Branch and a Right Branch. Each of these Branches contains one Node.
All other Nodes in the tree are either referred to as Junctions or Leaves. Every Junction contains two Branches; a Left Branch, and a Right Branch. Each of these Branches contains one Node.
If a Leaf has any Monkeys in it, it becomes a Junction. If a Junction contains no Monkeys, and neither of the Nodes in its Branches are Junctions, it becomes a Leaf, and the Nodes that were formerly in its Branches are no longer considered to be part of the tree. If a Junction or the Root contains no Monkeys, but one or both of the Nodes in its Branches are Junctions, than any Monkey may move either the Monkey in the Node in the Junctionâ€™s Left Branch or the Monkey in the Node in the Junctionâ€™s Right Branch into the Junction.
If a Junction or the Root ever contains more than one Monkey, than any Monkey may either move the Monkey whose name occurs earlier in the alphabet to the Node in the Junction or Rootâ€™s Left Branch, or move the Monkey whose name occurs later in the alphabet to the Junction or Rootâ€™s Right Branch.
Whenever a Monkeyâ€™s status is changed to â€œIn the Treeâ€, they move into the Root of the tree. If a Monkey’s status changes to something other than In the Tree, they are removed from the Monkey Tree if they were in it previously.
Nodes in the tree can be referred to individually in the following manner:
The root Node can be referred to as “O”.
The Node on the Left Branch of any other Node can be referred to by appending “L” to the name of that Node.
The Node on the Right Branch of any other Node can be referred to by appending “R” to the name of that Node.
Thus, OR is the right child of the root, OL is the left child of the root, ORL is the left child of the right child of the root, etc.
I hope I didn’t forget anything here. I’m working on the assumption that if Clucky’s proposal doesn’t pass, it was because of the Barrel part and not the restructuring.