I have to admit that I like laserlight's solution because it's self documenting -> It's something you would know exactly what is happening in the code.

However, being the person I am, I came up with my own small solution that would make no sense to the next person coming along!
Code:
player ^= 3;