P=pass, D=Don't pass, consider bar-12 the same as don't pass. Put a hash mark for each set of decisions. Play the expected one that is the lowest. Use 1 2 4 Martingale. For example, first 2 are PP (do not bet), mark it on PP. Since the 2nd one is P, the next bet is on D, because PP is marked and PD is not. If it comes out D, then we have a mark on PD (both are the same, so cannot bet when another P comes out). Since last one was D, cannot bet. If next is also D, then have PPDD, so mark DD, which leaves DP without any, so the next bet is on P. And so on....