I'll settle on this for now. I could further shorten it with a comparison function and have that run within the loop. I was happy with the logic of 'If A wins, A = A' and 'If B wins A = B' while generating a new B with each iteration of the loop. #100DaysOfCode
0
1
2
0
0
Download Image