And I don't pretend to understand your "winner" logic.
if (((randn1==0) && (randn2==0) ||(randn1==1) && (randn2==1) ||(randn1==2) && (randn2==2) ||(randn1==3) && (randn2==3) ||(randn1==4) && (randn2==4)))
For starters, in your code randn1
can *NEVER* be 0! Remember? You purposely wrote the code so they would be the numbers 1 through 13.
And how does the fact that the two NUMBERS are the same *AND* in the range of 1 through 4 cause you to write "Snap" as the "winner"???
I don't understand your rules, at all.