You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

User:Xylthixlm: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Natural action resolution system)
 
m (redirect to username)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
===Natural Action Resolution===
#REDIRECT [[Xylthixlm]]
This is a summary of the system used by [[XylBot]], adapted for human use. It should not be taken as authoritative on how XylBot will actually behave.
 
====The Golden Rule====
If an action might modify another action's effect, that action happens before the action it modifies.
 
To achieve this in practice, follow these steps:
# Find an action where its effect couldn't possibly be modified by any other action.
# Resolve it.
# Repeat from step 1 until all actions are resolved.
 
====Paradox Breaking====
Sometimes the actions that might affect each other form a cycle, so that there's no action to pick in step 1. In that case, pick an action to resolve in this order:
# Copy
# Hide
# Bus
# Block
# Redirect
# Protect
# Anything else
 
Minor modifications of the actions listed above are counted the same as the basic action (e.g., randomize would be the same priority as redirect). Actions which combine two of the listed actions use the higher priority.
 
If two or more actions in a cycle share a priority, pick one using any fair method. The bot uses the first action submitted.
 
Once you've resolved the action you picked, go back to the normal method until you get another cycle. Usually one or two picks are enough to make everything work.

Latest revision as of 23:27, 8 December 2008

Redirect to: