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

    pyautogui.dragTo(XTOP + dst_x * XTOPD, YTOP,
                     duration=DURATION, button='left')
Move card from space to goal.
Move card from space to goal.
Move card from space to goal .
def move_goal_spaces(src_x, dst_x):
    if VERBOSE:
        print("Moving space %s to goal %s" % (src_x + 1, dst_x + 1))
    pyautogui.moveTo(XSPACE + src_x * XTOPD, YTOP)
    pyautogui.dragTo(XTOP + dst_x * XTOPD, YTOP,
                     duration=DURATION, button='left')
def move_goal_spaces ( src_x , dst_x ) : if VERBOSE : print ( "Moving space %s to goal %s" % ( src_x + 1 , dst_x + 1 ) ) pyautogui . moveTo ( XSPACE + src_x * XTOPD , YTOP ) pyautogui . dragTo ( XTOP + dst_x * XTOPD , YTOP , duration = DURATION , button = 'left' )
Move card from space to goal.
Move card from space to goal .
"""Move card from space to goal."""
src_x
dst_x