The directional party code from the Cicada Tracker ported to other languages.