Rock, Paper, Scissors
h
CodeSalvageON (190)

Javascript rock paper scissors game. Hope you enjoy.

You are viewing a single comment. View All
ssebastianoo (1)

Nice, but you can simple make the code easier doing only function yourRoll(rolltype) and not a function for every roll type.
With math.floor you can make a choice from a list, you don't need to use numbers, I forked it here https://repl.it/@ssebastianoo/rockpaperscissorshoe

CodeSalvageON (190)

@ssebastianoo That is a much better version!