pub fn vpiece_decode(
    gs: &GameState,
    player: PlayerId,
    gpl: &GPlayer,
    vis: VisiblePieceId
) -> Option<PieceId>