X-Git-Url: http://git.veekun.com/pseudoku.git/blobdiff_plain/ef420dd690bb7803272ebc08c8e7a6e132dd0061..9065fe89fb6f81e7c358100e9127349c27bbb4f4:/pseudoku/__init__.py?ds=sidebyside diff --git a/pseudoku/__init__.py b/pseudoku/__init__.py index 3b6eeb9..853904b 100644 --- a/pseudoku/__init__.py +++ b/pseudoku/__init__.py @@ -1,4 +1,5 @@ from grid import Grid +import render.text def main(): grid = Grid.from_string(""" @@ -13,8 +14,9 @@ def main(): 1...6...9 """) - print grid + r = render.text.AsciiArtGridRenderer() + print r.render_grid(grid) grid.solve() - print grid + print r.render_grid(grid)