Question: 3. Write a function that simulates a rock/paper/scissors game in which 3 Al (non-human) players play against each other through N games (i.e. each player

3. Write a function that simulates a rock/paper/scissors game in which 3 Al (non-human) players play against each other through N games (i.e. each player plays N games against the other two players). Two of the Al players should randomly pick the rock/paper/scissors options, while the third should be biased, choosing rock 50% of the time, paper 25% of the time, and scissors 25% of the time. After running N games where each player plays the other two N times, the function should return the number of draws, and the number of times each player won. N is the only parameter of this function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
