Just a beginner! I've got a darts game between two players. I need to work out how many games player 1 wins and player 2 wins out of 1000 games if there is a coin flip and thereafter the loser starts.
Code:if (p1 < p2) wins = 1 ; else wins = 0 ;
This is my code for if p1 has less throws than p2 then they win. I just don't know how to make them flip for it!