Im writing a game and want to know how to write the formula for the winner.
So for paper scissors rock, ive written it so the two players enter their choice but i dont know how to write the parameters which show who the winner is.
so paper beats rock, scissors beats paper and rock beats scissors.
what I want is the computer to keep a tally using dictionary to keep score so when one player gets to 5, a winner will be declared.
thanks for reading