check for selecting blank squares and piece that does not belong to current player