Hello, I have made both a Simple Rock Paper Scissors app, that shows an alert telling you if you win/ lose is there any way for it to keep a track/tally of wins and losses (user versus device)
as well as declaring a winner best 3 out of 5 and then reset to 0?
This really takes me back, would love to help you out with this.
Iād use a stored variable for this.
A simply IF statement here will do the trick:
if (p1_score >= 3 || p2_score >= 3){reset(); }