AI: strategy primitives.

Work in progress.