get legal moves on click now works