first attempt at 23, broken

This commit is contained in:
basicbonobo 2023-12-23 21:45:34 +01:00
parent d96f4b19d9
commit 07f5d040b3
3 changed files with 212 additions and 0 deletions

48
dreiundzwanzig.py Executable file
View File

@ -0,0 +1,48 @@
#!/usr/bin/env python3
from useful import *
DIRS = (-1, 0), (1, 0), (0, -1), (0, 1)
UP, DOWN, LEFT, RIGHT = DIRS
MUSTGO = {'<': LEFT, '>': RIGHT, '^': UP, 'v': DOWN}
def hush(a):
return reduce(lambda u, v: u << 8 | v)
def add(a, b):
return tuple(map(lambda u, v: u + v, a, b))
def sub(a, b):
return tuple(map(lambda u, v: u - v, a, b))
def mightgo(here, there):
if not (there[0] > 0 and there[1] > 0 and there[0] < h and there[1] < w):
return False
if kart[there] == '#':
return False
if kart[here] == '.':
return True
step = sub(there, here)
return step == MUSTGO[step]
def cango(here, there, path):
return mightgo(here, there) and there not in path
kart = np.asarray([[c for c in l] for l in lines(open(0))])
h, w = kart.shape
beg, fin = [(i, np.argmax(kart[i] == '.')) for i in (0, h - 1)]
q = deque()
q += [(add(beg, DOWN), {hush(beg): True}, 1), ] # pos, path so far, distance covered
while q:
pos, path, dist = q.popleft()
if pos == fin:
best = max(best, dist)
continue
for d in DIRS:
nextpos = add(pos, d)
if cango(pos, nextpos, path):
q += [(nextpos, path | {pos: True}, dist + 1), ]
print(best)

141
input23 Normal file
View File

@ -0,0 +1,141 @@
#.###########################################################################################################################################
#...#...#...#.........###.....###...#.........#.....#...###.....#.....#...#.............#.....#.......#.........#...#...###...#...###...#...#
###.#.#.#.#.#.#######.###.###.###.#.#.#######.#.###.#.#.###.###.#.###.#.#.#.###########.#.###.#.#####.#.#######.#.#.#.#.###.#.#.#.###.#.#.#.#
###...#.#.#...#...#...#...#...#...#.#.#...#...#...#.#.#...#.#...#...#.#.#.#.......#.....#...#.#.....#...#.......#.#.#.#.#...#.#.#...#.#.#.#.#
#######.#.#####.#.#.###.###.###.###.#.#.#.#.#####.#.#.###.#.#.#####.#.#.#.#######.#.#######.#.#####.#####.#######.#.#.#.#.###.#.###.#.#.#.#.#
#.......#.#.....#...###...#...#...#.#.#.#...#...#.#.#...#...#.....#.#.#.#.#.....#.#.....#...#...###.....#.###.....#.#.#.#.#...#...#.#.#...#.#
#.#######.#.#############.###.###.#.#.#.#####.#.#.#.###.#########.#.#.#.#.#.###.#.#####.#.#####.#######.#.###.#####.#.#.#.#.#####.#.#.#####.#
#.....#...#.....###...#...#...#...#.#.#.....#.#.#.#.###...#...#...#.#.#.#.#.#...#...#...#.#.....#.....#.#.#...#.....#.#...#.#...#.#...#.....#
#####.#.#######.###.#.#.###.###.###.#.#####.#.#.#.#.#####.#.#.#.###.#.#.#.#.#.#####.#.###.#.#####.###.#.#.#.###.#####.#####.#.#.#.#####.#####
#.....#.###...#...#.#.#...#.>.>.#...#.#.....#.#.#.#.#...#.#.#...#...#.#.#.#.#.#...#.#...#.#.#...#...#.#.#.#.#...#####.....#.#.#.#...#...#...#
#.#####.###.#.###v#.#.###.###v###.###.#.#####.#.#.#.#.#.#.#.#####.###.#.#.#.#.#.#.#.###.#.#.#.#.###.#.#.#.#.#.###########.#.#.#.###.#.###.#.#
#.#...#.#...#...#.>.#.#...###...#...#.#.#...#.#...#.#.#.#.#.>.>.#...#.#.#.#.#.#.#...#...#.#.#.#...#.#.#.#...#.#...###...#.#.#.#.#...#.....#.#
#.#.#.#.#.#####.#v###.#.#######.###.#.#.#.#.#.#####.#.#.#.###v#.###.#.#.#.#.#.#.#####.###.#.#.###.#.#.#.#####.#.#.###.#.#.#.#.#.#.#########.#
#...#...#.#...#.#.###.#.#.......###.#.#.#.#.#.....#...#...###.#...#.#.#.#.#.#.#.....#...#.#.#...#.#.#.#.....#.#.#.#...#...#.#.#.#.#.........#
#########.#.#.#.#.###.#.#.#########.#.#.#.#.#####.###########.###.#.#.#.#.#.#.#####.###.#.#.###.#.#.#.#####.#.#.#.#.#######.#.#.#.#.#########
#...#...#...#.#.#...#.#.#.#.......#.#.#.#.#.......#...###...#.###...#.#.#...#.#.....#...#.#.#...#.#.#...>.>.#.#.#.#.#.......#.#.#.#.........#
#.#.#.#.#####.#.###.#.#.#.#.#####.#.#.#.#.#########.#.###.#.#.#######.#.#####.#.#####.###.#.#.###.#.#####v###.#.#.#.#.#######.#.#.#########.#
#.#.#.#...#...#.....#...#...###...#...#.#...#.......#.....#...#.......#.#.....#.....#.###.#.#...#.#.#.....###...#...#.#...#...#.#...###...#.#
#.#.#.###.#.###################.#######.###.#.#################.#######.#.#########.#.###.#.###.#.#.#.###############.#.#.#.###.###.###.#.#.#
#.#.#...#.#...........###.......#...###.....#.#...#...........#.....#...#.#.....#...#.>.>.#.#...#...#.#.......#.......#.#...###.....#...#...#
#.#.###.#.###########.###.#######.#.#########.#.#.#.#########.#####.#.###.#.###.#.#####v###.#.#######.#.#####.#.#######.#############.#######
#.#.....#.........#...#...#...#...#.......#...#.#.#.#.........#####...#...#...#...###...###.#.......#...#.....#.........###...#...#...#...###
#.###############.#.###.###.#.#.#########.#.###.#.#.#.#################.#####.#######.#####.#######.#####.#################.#.#.#.#.###.#.###
#.....#.....#...#.#...#...#.#...#.........#.....#...#...#...#...#...###...#...#.....#.....#.........#...#.....#...###...#...#.#.#...###.#.###
#####.#.###.#.#.#.###.###.#.#####.#####################.#.#.#.#.#.#.#####.#.###.###.#####.###########.#.#####.#.#.###.#.#.###.#.#######.#.###
#.....#...#...#.#.....###...#.....#...#.........#...###...#.#.#...#...###...###...#.#.....#.......#...#.......#.#...#.#.#...#.#.........#...#
#.#######.#####.#############.#####.#.#.#######.#.#.#######.#.#######.###########.#.#.#####.#####.#.###########.###.#.#.###.#.#############.#
#.#...#...###...#.......###...#...#.#.#.#.......#.#.........#.....#...#...#...#...#...#...#...#...#.#.........#...#.#.#.###.#.#.....#.......#
#.#.#.#.#####.###.#####.###.###.#.#.#.#.#.#######.###############.#.###.#.#.#.#v#######.#.###.#.###.#.#######.###.#.#.#.###.#.#v###.#.#######
#...#...#...#...#.....#...#.....#...#.#.#...#...#.......#...#...#.#...#.#.#.#.>.>...###.#.#...#...#.#.#.......###.#.#.#.....#.>.###...###...#
#########.#.###v#####.###.###########.#.###.#.#.#######.#.#.#.#.#.###.#.#.#.###v###.###.#.#.#####.#.#.#.#########.#.#.#########v#########.#.#
###...#...#...#.>.#...#...#.....#.....#.#...#.#.###...#.#.#.#.#.#.#...#.#.#.#...###...#.#.#.#.....#...#...#...#...#.#.#.........#...#...#.#.#
###.#.#.#####.#v#.#.###.###.###.#.#####.#.###.#.###.#.#v#.#.#.#.#.#.###.#.#.#.#######.#.#.#.#.###########.#.#.#.###.#.#.#########.#.#.#.#.#.#
#...#.#.....#.#.#.#...#.....#...#.......#...#.#.#...#.>.>.#.#.#.#.#.#...#...#.......#.#.#...#...#...#.....#.#...###...#.#.....#...#.#.#.#.#.#
#.###.#####.#.#.#.###.#######.#############.#.#.#.#####v###.#.#.#.#.#.#############.#.#.#######.#.#.#.#####.###########.#.###.#.###.#.#.#.#.#
#...#.......#.#.#.#...###...#.....#...#.....#.#...#.....###.#.#.#.#.#.#.............#.#.#.......#.#.#.....#.....#...###.#.#...#.#...#.#.#.#.#
###.#########.#.#.#.#####.#.#####.#.#.#.#####.#####.#######.#.#.#.#.#.#.#############.#.#.#######.#.#####v#####.#.#.###.#.#.###.#.###.#.#.#.#
#...#.....###...#.#...#...#.......#.#.#...###.....#.......#...#.#.#...#...#.........#.#.#.....#...#.#...>.>...#...#...#...#...#.#...#.#.#.#.#
#.###.###.#######.###.#.###########.#.###v#######.#######.#####.#.#######.#.#######.#.#.#####.#.###.#.###v###.#######.#######.#.###.#.#.#.#.#
#...#.#...#...###.#...#...#.......#.#...>.>.......#.......#...#...#...#...#.#.......#.#...###.#...#.#.###...#...#...#.....#...#.###.#.#...#.#
###.#.#.###.#.###.#.#####.#.#####.#.#####v#########.#######.#.#####.#.#.###.#.#######.###.###.###.#.#.#####.###.#.#.#####.#.###.###.#.#####.#
###...#.....#...#.#.....#.#.....#...#.....#...#...#.........#.#...#.#.#.....#.......#.#...#...#...#.#.#...#...#.#.#.......#...#.#...#.#.....#
###############.#.#####.#.#####.#####.#####.#.#.#.###########.#.#.#.#.#############.#.#.###.###.###.#.#.#.###.#.#.###########.#.#.###.#.#####
#...#...........#.#...#.#.#...#.#.....#.....#...#...#.........#.#.#.#.#...........#.#...###...#...#.#.#.#.....#...#.........#...#.....#.....#
#.#.#.###########.#.#.#.#.#.#.#.#.#####.###########.#.#########.#.#.#.#.#########.#.#########.###.#.#.#.###########.#######.###############.#
#.#...#.........#...#.#.#.#.#.#.#.......#...#.....#.#...........#...#.#.........#.#...#...###.#...#...#...........#.......#.###...#.....#...#
#.#####.#######.#####.#.#.#.#.#.#########.#.#.###.#.#################.#########.#.###.#.#.###.#.#################.#######.#.###.#.#.###.#.###
#.......#.......#...#...#.#.#.#...#.......#...###...#.....#.........#.###.......#.....#.#...#.#.#.............#...###...#.#.###.#.#...#...###
#########.#######.#.#####.#.#.###.#.#################.###.#.#######.#.###.#############.###.#.#.#.###########.#.#####.#.#.#.###.#.###.#######
#.........#.......#.....#...#.#...#...............###...#...#.....#...#...#...#.....#...#...#...#.......#...#...###...#.#.#...#.#.###.....###
#.#########.###########.#####.#.#################.#####.#####.###.#####.###.#.#.###.#.###.#############.#.#.#######.###.#.###.#.#.#######.###
#...........#...........#...#...#...#.........#...#...#.....#.#...#...#...#.#...#...#...#.#...#...#...#...#...#...#...#...#...#.#...#####...#
#############.###########.#.#####.#.#.#######.#.###.#.#####.#.#.###.#.###.#.#####.#####.#.#.#.#.#.#.#.#######.#.#.###.#####.###.###.#######.#
#.......#.....#.....#...#.#.#.....#...#.....#.#.#...#.......#.#.#...#.###...#.....###...#.#.#.#.#.#.#.###...#...#.#...#.....###...#...#.....#
#.#####.#.#####.###.#.#.#.#.#.#########.###.#.#.#.###########.#.#.###.#######.#######.###.#.#.#.#.#.#.###.#.#####v#.###.#########.###.#.#####
#.....#...#...#...#.#.#.#.#.#...........#...#...#.......#...#.#.#...#.#...###.###...#...#.#.#...#.#.#...#.#...#.>.>.#...#...#.....#...#.....#
#####.#####.#.###.#.#.#.#.#.#############.#############v#.#.#.#.###.#.#.#.###v###.#.###.#.#.#####.#.###.#.###.#.#v###.###.#.#.#####.#######.#
#.....#...#.#.###.#.#.#.#.#.#...#.......#.#...#...###.>.>.#...#.#...#.#.#.#.>.>...#.#...#...#.....#...#.#.###.#.#.###...#.#.#.#...#...#.....#
#.#####.#v#.#.###.#.#.#.#.#.#.#.#.#####.#.#.#.#.#.###.#v#######.#.###.#.#.#.#v#####.#.#######.#######.#.#.###.#.#.#####.#.#.#.#.#.###.#.#####
#.......#.>.#.###.#.#.#.#.#.#.#.#...#...#.#.#.#.#...#.#.....###.#.###.#.#...#.....#.#.#.......#...#...#.#...#...#...#...#.#.#...#.#...#...###
#########v###.###.#.#.#.#.#.#.#.###.#.###v#.#.#.###.#.#####.###.#.###.#.#########.#.#.#.#######.#.#.###.###.#######.#.###.#.#####.#.#####.###
#.........#...#...#.#.#.#.#.#.#...#.#.#.>.>.#.#.#...#.#.....#...#...#...#.........#.#.#.#.....#.#.#.###.....#...#...#.....#...#...#.#...#...#
#.#########.###.###.#.#.#.#.#.###.#.#.#.#v###.#.#.###.#.#####.#####.#####.#########.#.#.#.###.#.#.#.#########.#.#.###########.#.###.#.#.###.#
#.........#...#...#...#.#.#...###...#...#...#.#.#.#...#...###...#...#.....#.....###.#.#.#.#...#.#...#...###...#.#...........#.#...#...#.#...#
#########.###.###.#####.#.#################.#.#.#.#.#####.#####.#.###.#####.###.###.#.#.#.#.###.#####.#.###.###.###########.#.###.#####.#.###
#.....###...#.#...###...#.......#...........#...#.#.#####.#...#...#...#...#.###...#...#...#.....#.....#...#...#...#...#.....#.#...#.....#.###
#.###.#####.#.#.#####.#########.#.###############.#.#####.#.#.#####.###.#.#.#####.###############.#######.###.###.#.#.#.#####.#.###.#####v###
#...#.....#.#.#.#.....#.....#...#.....#.........#.#.#.....#.#.....#.....#...#####...###.....#...#...#...#.#...###.#.#.#...#...#.###.....>.###
###.#####.#.#.#.#.#####.###.#.#######.#.#######.#.#.#.#####.#####.#################.###.###.#.#.###.#.#.#.#.#####.#.#.###.#.###.#########v###
###...###...#...#...#...###.#...#.....#.#.......#...#.......#...#...#...#.....#...#...#...#...#.###.#.#...#.....#.#.#.....#.#...#...#.....###
#####.#############.#.#####.###.#.#####.#.###################.#.###.#.#.#.###.#.#.###.###.#####.###.#.#########.#.#.#######.#.###.#.#.#######
#####...#...#...#...#...###.....#.......#.........#...........#.....#.#.#.#...#.#.###...#.....#.#...#.......#...#.#.......#.#.###.#.#.......#
#######.#.#.#.#.#.#####.#########################.#.#################.#.#.#.###.#.#####.#####.#.#.#########.#.###.#######.#.#.###.#.#######.#
#.......#.#.#.#.#...#...#.....#...................#...............###.#.#.#...#.#.....#.......#.#.#.......#...###.........#.#.#...#.........#
#.#######.#.#.#.###.#.###.###.#.#################################.###.#.#.###.#.#####.#########.#.#.#####.#################.#.#.#############
#.........#...#...#...###.#...#...................###...........#.#...#...#...#.....#...........#...#.....#...###.........#.#.#.#...........#
#################.#######.#.#####################.###.#########.#.#.#######.#######.#################v#####.#.###.#######.#.#.#.#.#########.#
#.........#.......###...#.#.#...#...........#.....#...#.......#...#...#.....#...###.............###.>.>.....#.#...#.......#...#...#...#.....#
#.#######.#.#########.#.#.#.#.#.#.#########.#.#####.###.#####.#######.#.#####.#.###############.###.#v#######.#.###.###############.#.#.#####
#.#...###...###...#...#.#.#.#.#.#.........#.#.....#.....#.....###...#.#.....#.#.#...............#...#.#.......#...#...#...#...###...#...#...#
#.#.#.#########.#.#.###.#.#.#.#.#########.#.#####.#######.#######.#.#.#####.#.#.#.###############.###.#.#########.###.#.#.#.#.###.#######.#.#
#...#.#...#...#.#.#...#.#.#.#.#.#...#...#.#.......#...###.......#.#...#.....#.#.#...........#...#.###.#...###...#.#...#.#...#...#.........#.#
#####v#.#.#.#.#.#.###.#.#.#.#.#.#.#.#.#.#v#########.#.#########.#.#####.#####.#.###########.#.#.#.###.###.###.#.#.#.###.#######.###########.#
#...#.>.#.#.#.#.#.#...#.#.#.#.#.#.#.#.#.>.>.....#...#.#.........#...#...#...#.#.#...#...#...#.#.#...#...#...#.#.#.#.###.#.......#...###...#.#
#.#.#v###.#.#.#.#.#.###.#.#.#.#.#.#.#.###v#####.#.###.#.###########.#.###.#.#.#.#.#.#.#.#v###.#.###.###.###.#.#.#.#.###.#.#######.#.###.#.#.#
#.#.#...#.#.#.#.#.#.###.#.#.#.#...#...###.#.....#...#.#...#.........#...#.#.#.#.#.#.#.#.>.>.#.#...#...#...#...#.#.#.....#...#...#.#.#...#.#.#
#.#.###.#.#.#.#.#.#.###.#.#.#.###########.#.#######.#.###v#.###########.#.#.#.#.#.#.#.###v#.#.###.###.###.#####.#.#########.#.#.#.#.#.###.#.#
#.#.#...#.#.#.#.#...###.#.#.#.###...#...#.#...#...#.#.#.>.>.#...###.....#.#.#.#...#...###.#.#.###.#...#...#...#.#.#.........#.#.#.#.#...#.#.#
#.#.#.###.#.#.#.#######.#.#.#.###.#.#.#.#.###.#.#.#.#.#.#v###.#.###.#####.#.#.###########.#.#.###.#.###.###.#.#.#.#.#########.#.#.#.###v#.#.#
#.#...###...#.#.....#...#.#.#.#...#...#.#.###.#.#.#.#...#.#...#...#.#...#.#.#...#.........#...###...###.....#.#...#.......#...#...#...>.#...#
#.###########.#####.#.###.#.#.#.#######.#.###.#.#.#.#####.#.#####.#.#.#.#.#.###.#.###########################.###########.#.###########v#####
#.#...###...#.......#...#.#...#...#...#...#...#.#.#.###...#.#.....#...#...#.#...#...#...........###...........#...#...###.#.#.......#...#...#
#.#.#.###.#.###########.#.#######.#.#.#####.###.#.#.###.###.#.#############.#.#####.#.#########.###.###########.#.#.#.###.#.#.#####.#.###.#.#
#...#...#.#...........#.#.###...#...#.....#.#...#.#...#...#.#...#...###...#...#...#.#.#.........#...#...#...#...#...#...#...#.....#.#.....#.#
#######.#.###########.#.#.###.#.#########.#.#.###.###.###.#.###.#.#.###.#.#####.#.#.#.#.#########.###.#.#.#.#.#########.#########.#.#######.#
###.....#.#.........#.#...#...#...#.......#...###.....###.#.###...#.....#...#...#.#...#...#.....#.#...#.#.#.#.#.........#.........#.#...#...#
###.#####.#.#######.#.#####.#####.#.#####################.#.###############.#.###.#######.#.###.#.#.###.#.#.#.#.#########.#########.#.#.#.###
#...#.....#.....###...#...#.....#.#...#...#...###...###...#.#...............#.#...#...###...#...#.#...#...#...#.........#...#.....#...#...###
#.###.#########.#######.#.#####.#.###.#.#.#.#.###.#.###.###.#.###############.#.###.#.#######.###.###.#################.###.#.###.###########
#.....#.........#...#...#.#.....#...#...#...#...#.#...#.#...#.........#.......#.#...#.#...#...###.....#.................###.#.###...........#
#######.#########.#.#.###.#.#######.###########.#.###.#.#.###########.#.#######.#.###.#.#.#.###########.###################.#.#############.#
#.......#...#...#.#.#...#.#.....#...#...........#.#...#...#...#.....#.#.....#...#...#...#...###.......#.................###...#.....#.......#
#.#######.#.#.#.#.#.###.#.#####.#.###v###########.#.#######.#.#.###.#.#####.#.#####v###########.#####.#################.#######.###.#.#######
#.#...#...#.#.#.#.#...#.#.#...#.#.#.>.>...#.....#.#.....#...#...###...#...#.#.#...>.>.......#...#.....#...###...#.......#...###...#.#.......#
#.#.#.#.###v#.#.#.###.#.#.#.#.#.#.#.#v###.#.###.#.#####.#.#############.#.#.#.#.###v#######.#.###.#####.#.###.#.#.#######.#.#####.#.#######.#
#.#.#...###.>.#.#...#.#.#.#.#.#.#...#.#...#.#...#...#...#.......#...###.#...#.#...#.#.......#...#...#...#.#...#.#.......#.#.#...#.#.....#...#
#.#.#######v###.###.#.#.#.#.#.#.#####.#.###.#.#####.#.#########.#.#.###.#####.###.#.#.#########.###.#.###.#.###.#######.#.#.#.#.#.#####.#.###
#...###...#...#.....#.#.#.#.#.#...#...#...#.#.#...#.#.#...#...#.#.#...#.....#.#...#.#...###...#.#...#...#.#...#.#.......#.#.#.#.#.#...#...###
#######.#.###.#######.#.#.#.#.###.#.#####.#.#.#.#.#.#.#.#.#.#.#v#.###.#####.#.#.###.###.###.#.#.#.#####.#.###.#.#v#######.#.#.#.#.#.#.#######
#.......#...#.......#.#.#...#...#.#...###...#.#.#.#.#...#...#.>.>.###.#.....#.#.#...###...#.#.#.#...#...#.....#.>.>.#...#.#.#.#.#.#.#.#...###
#.#########.#######.#.#.#######.#.###.#######.#.#.#.###########v#####.#.#####.#.#.#######.#.#.#.###.#.###########v#.#.#.#.#.#.#.#v#.#.#.#.###
#.........#.........#...###...#...###.......#.#.#.#.#...#...###.....#.#...###...#.......#.#.#.#.###.#...#.......#.#...#.#.#.#.#.>.#.#...#...#
#########.#################.#.#############.#.#.#.#.#.#.#.#.#######.#.###.#############.#.#.#.#.###.###.#.#####.#.#####.#.#.#.###v#.#######.#
#.........#...#...#...#.....#...#...........#.#.#.#.#.#...#...#.....#.#...#...###.....#.#.#.#.#.#...#...#...###.#.#.....#.#...#...#.#.......#
#.#########.#.#.#.#.#.#.#######.#.###########.#.#.#.#.#######.#.#####.#.###.#.###.###.#.#.#.#.#.#.###.#####.###.#.#.#####.#####.###.#.#######
#.........#.#...#...#...#.....#.#...........#.#.#...#.......#.#.....#...###.#.#...#...#.#.#.#...#.....#...#...#.#.#.#...#.....#.....#.......#
#########.#.#############.###.#.###########.#.#.###########.#.#####.#######.#.#.###.###.#.#.###########.#.###.#.#.#.#.#.#####.#############.#
#####...#...#...#.........###...#...........#...#...........#...#...#.......#...###.....#.#.....#.......#.....#.#.#.#.#.#...#.#.............#
#####.#.#####.#.#.###############.###############.#############.#.###.###################.#####.#.#############.#.#.#.#.#.#.#.#.#############
###...#...###.#.#.........#...###...........#...#.............#...###...#...#...#.......#.#.....#...........###...#...#...#...#.............#
###.#####.###.#.#########.#.#.#############.#.#.#############.#########.#.#.#.#.#.#####.#.#.###############.###############################.#
#...#...#.....#...........#.#.###.........#...#...#...........###...###...#...#...#.....#...#...#.......###...#...###...#...###.............#
#.###.#.###################.#.###.#######.#######.#.#############.#.###############.#########.#.#.#####.#####.#.#.###.#.#.#.###.#############
#...#.#...#...#.......#.....#...#...#...#...#.....#.............#.#.#.....#.........#...###...#.#.....#.......#.#...#.#.#.#...#.............#
###.#.###.#.#.#.#####.#.#######.###.#.#.###.#.#################.#.#.#.###.#.#########.#.###.###.#####.#########.###.#.#.#.###.#############.#
###...###...#.#.#.....#...#.....###...#...#.#.#.............#...#.#.#...#.#.....#...#.#.#...#...#...#.......#...#...#.#.#...#.#...#...#.....#
#############.#.#.#######.#.#############.#.#.#.###########.#.###.#.###.#.#####.#.#.#.#.#.###.###.#.#######.#.###.###.#.###.#.#.#.#v#.#.#####
#.............#.#.#...###.#.#...#...###...#...#...........#...#...#...#.#.......#.#...#.#.#...#...#.........#...#...#.#...#.#.#.#.>.#.#.#...#
#.#############.#.#.#.###.#.#.#.#.#.###v#################.#####.#####.#.#########.#####.#.#.###.###############.###.#.###.#.#.#.###v#.#.#.#.#
#.#...#...#...#.#...#...#.#...#.#.#...>.>...###...#.......###...#.....#...#.......#.....#.#.###.............#...#...#...#.#.#...#...#...#.#.#
#.#.#.#.#.#.#.#.#######.#.#####.#.#########.###.#.#.#########.###.#######.#.#######.#####.#.###############.#.###.#####.#.#.#####.#######.#.#
#...#...#.#.#.#.#.......#.#.....#...#.......#...#.#.......#...#...#...###...###.....#.....#.#...###.....#...#...#...#...#.#...###.....###.#.#
#########.#.#.#.#.#######.#.#######.#.#######.###.#######.#.###.###.#.#########.#####.#####.#.#.###.###.#.#####.###.#.###.###.#######.###.#.#
#...#.....#.#...#.........#.#.......#.....###.#...#...#...#.#...#...#.....#.....#...#.....#.#.#.###.#...#...###...#.#.###...#.#.......#...#.#
#.#.#.#####.###############.#.###########.###.#.###.#.#v###.#.###.#######.#.#####.#.#####.#.#.#.###.#.#####v#####.#.#.#####.#.#.#######.###.#
#.#...#...#.#...............#.........#...#...#...#.#.>.>.#.#.###...#.....#.....#.#.....#.#.#.#.#...#...#.>.>.#...#...#.....#.#.......#.###.#
#.#####.#.#.#.#######################.#.###.#####.#.#####.#.#.#####.#.#########v#.#####.#.#.#.#.#.#####.#.###.#.#######.#####.#######.#.###.#
#...#...#.#.#.#...#.....#...#...#...#.#.#...#.....#.#.....#.#...#...#...#...#.>.>.#.....#.#.#.#.#.#.....#.#...#.......#...#...#.......#.#...#
###.#.###.#.#.#.#.#.###.#.#.#.#.#.#.#.#.#.###.#####.#.#####.###.#.#####.#.#.#.#####.#####.#.#.#.#.#.#####.#.#########.###.#.###.#######.#.###
###...###...#...#...###...#...#...#...#...###.......#.......###...#####...#...#####.......#...#...#.......#...........###...###.........#...#
###########################################################################################################################################.#

23
test23 Normal file
View File

@ -0,0 +1,23 @@
#.#####################
#.......#########...###
#######.#########.#.###
###.....#.>.>.###.#.###
###v#####.#v#.###.#.###
###.>...#.#.#.....#...#
###v###.#.#.#########.#
###...#.#.#.......#...#
#####.#.#.#######.#.###
#.....#.#.#.......#...#
#.#####.#.#.#########v#
#.#...#...#...###...>.#
#.#.#v#######v###.###v#
#...#.>.#...>.>.#.###.#
#####v#.#.###v#.#.###.#
#.....#...#...#.#.#...#
#.#########.###.#.#.###
#...###...#...#...#.###
###.###.#.###v#####v###
#...#...#.#.>.>.#.>.###
#.###.###.#.###.#.#v###
#.....###...###...#...#
#####################.#