Simplified code that calclulates p1 and p2 win totals