@hannah-saurusrex
Posted
Hi there, I just played your rock/paper/scissors game, but it doesn't seem like the shuffle is working. I always get the same "computer picked" result for each option I choose. Here is a great article talking through how to shuffle items in an array :) https://gomakethings.com/how-to-shuffle-an-array-with-vanilla-js/
Thanks for the feedback, the shuffle is actually working but since it is between two options, it is quite limited. i will also go through the article. Thanks again.
@hannah-saurusrex
Posted
@Josh4324 It should be between three options though, right? You can get a "draw" or "tie" as well. :)
@hannah-saurusrex Yes,i will add it, i didnt add it initially because it was not part of the specifications. Thanks