move pieces by click