changeMyPiece
Changes the player's piece type.
Return
The updated game state with the new piece type.
Parameters
newType
The new piece type for the player.
Changes the player's piece type.
The updated game state with the new piece type.
The new piece type for the player.