When will this be called? And why should we render right after? To me rendering should be done independently of state changes. Also, more explicit the better, so perhaps `setPlayerNumber` or something similar.