This programm was more or less inspired by an example done in the course 'An introduction to Interactive programming in Python' at coursera.org
We use the reasoning of assigning numbers to each choise the player and the computer make and then compute their difference.mod3
According to this result we define the winner!
Lazaros Moysis (2021). Rock-Paper-Scissors (https://www.mathworks.com/matlabcentral/fileexchange/39461-rock-paper-scissors), MATLAB Central File Exchange. Retrieved .
Works fine for me. But I would prefer the program to start again after one round, and an option to quit whenever I want
I fixed the error that was appearing when a user entered anything other than rock-paper-scissors. Not it's working fine.
gui program running at a stone scissors game yet?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!