shenzhen-solitaire.py
def move_from_spaces(src_x, dst_x, dst_y):
    """Move card from space to pile."""
    if VERBOSE:
        print("Moving space %s to %s, %s" % (src_x + 1, dst_x + 1, dst_y + 1))
    pyautogui.moveTo(XSPACE + src_x * XTOPD, YTOP)

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