I believe any optimal strategy has to be probabilistic, with three relevant probabilities:
* The probability that P1 attacks on their first turn
* The probability that P1 attacks on any other turn
* The probability that P2 attacks on any turn