def corner6(width, height, blanck, gray, oki_picture, x, y, dico_picture, nb): listex = [x - 1, x, x + 1, x - 1] listey = [y, y - 1, y + 1, y - 1] road_test(listex, listey, width, height, blanck, gray, oki_picture, "corner6", 1, -1, x, y, dico_picture, nb, 0, 1)
def lign_horizontal(width, height, blanck, gray, oki_picture, x, y, dico_picture, nb): for i in range(2): listex = [x, x + 1, x + 1] listey = [y + 1, y + 1, y - 1] if i == 0: road_test(listex, listey, width, height, blanck, gray, oki_picture, 'lign horrizontale1', 0, -1, x, y, dico_picture, nb, 0, 0) elif i == 1: road_test(listex, listey, width, height, blanck, gray, oki_picture, 'lign horrizontale2', 0, 1, x, y, dico_picture, nb, 0, 0)