Skip to content

Instantly share code, notes, and snippets.

@obiwanus
obiwanus / maze.py
Created December 19, 2013 08:42
One of the possible solutions to the task in https://neil.fraser.name/news/2013/03/16/
# coding: utf-8
import copy
maze = []
# Read the maze into an array
with open('maze1.txt') as f:
for line in f.readlines():
maze.append([int(i) for i in line.strip()])