Two-sided lookahead

Both the attacker and the defender now use lookahead in making their
decision.