Commandline-Games-hacktoberfest icon indicating copy to clipboard operation
Commandline-Games-hacktoberfest copied to clipboard

fix: added missing declareWinner outcomes

Open Alessandro1918 opened this issue 10 months ago • 0 comments

"Rock Paper Scissors" game have 9 different combinations leading to the 3 outcomes (win / lose / tie), but only 2 combinations were coded, and the other ones were wrongly falling on the "else" path. Great initiative for a basic JS game, BTW!

Alessandro1918 avatar Aug 20 '23 21:08 Alessandro1918