Python scripts simulate the rock, scissor, paper game.
This script allows users to play the rock, scissor, paper game against the computer.
It prompts the user to make a choice and compares it with the computer's choice to determine the outcome.
-
Clone or Download repository.
-
Open rock_scissor_paper.py, and compile script.
-
When script prompted, Enter rock, paper or scissor.
This script simulates the outcome of the rock, scissor, paper game and visualizes the win probability using a pie chart.
-
Run the script, and it will simulate the rock, scissor, paper game a specified number of times.
-
It records the outcomes of each simulation and calculates the win probability.
-
The results are visualized using a pie chart.
This script simulates the rock, scissor, paper game according to the "3 out of 5, first to 3 wins" rule and visualizes the win probability using a bar chart.
As you can see, rock-paper-scissor is realllllly fair game!