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.