maze/bin/make_maze.py

10 lines
153 B
Python
Raw Normal View History

2012-10-31 22:33:50 -07:00
import sys
2012-10-25 21:33:35 -07:00
from maze import make_maze
2012-10-31 22:33:50 -07:00
size = 8
if len(sys.argv) == 2:
size = int(sys.argv[1])
m = make_maze(size)
sys.stdout.write('{}'.format(m))