Make a rock-paper-scissors app that looks and acts like the first one, but is less obvious about its cheating.
50% of the time, the computer should win. 30% of the time, it should be a draw. 20% of the time, the user should win.
The JS function
Math.random() returns a random number between 0 and 1.
Submit the URL of your solution.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)