shenzhen-solitaire.py
def move_piles(src_x, src_y, dst_x, dst_y):
    """Move card from one pile to another."""
    if VERBOSE:
        print("Moving %s, %s to %s, %s" % (
            src_x + 1, src_y + 1, dst_x + 1, dst_y + 1))
    pyautogui.moveTo(X + src_x * XD, Y + src_y * YD)

    pyautogui.dragTo(X + dst_x * XD, Y + dst_y * YD,
                     duration=DURATION, button='left')
Move card from one pile to another.
Move card from one pile to another.
Move card from one pile to another .
def move_piles(src_x, src_y, dst_x, dst_y):
    if VERBOSE:
        print("Moving %s, %s to %s, %s" % (
            src_x + 1, src_y + 1, dst_x + 1, dst_y + 1))
    pyautogui.moveTo(X + src_x * XD, Y + src_y * YD)
    pyautogui.dragTo(X + dst_x * XD, Y + dst_y * YD,
                     duration=DURATION, button='left')
def move_piles ( src_x , src_y , dst_x , dst_y ) : if VERBOSE : print ( "Moving %s, %s to %s, %s" % ( src_x + 1 , src_y + 1 , dst_x + 1 , dst_y + 1 ) ) pyautogui . moveTo ( X + src_x * XD , Y + src_y * YD ) pyautogui . dragTo ( X + dst_x * XD , Y + dst_y * YD , duration = DURATION , button = 'left' )
Move card from one pile to another.
Move card from one pile to another .
"""Move card from one pile to another."""
src_x
src_y
dst_x
dst_y