I'm not sure if this is doing what you expect. If the player and opponent have 4 and 5 respectively (hypothetically) wouldn't this return 'deuce'? You may want to test if the difference equals zero and they both have 3 or above individually.