add changePlayer function in Game