set selected piece
do not select illegal piece