List<int> pieceIndices(List<String> symbols) => symbols.map((p) => pieceIndex(p)).where((p) => p >= 0).toList();