X-Git-Url: http://git.veekun.com/pseudoku.git/blobdiff_plain/ef420dd690bb7803272ebc08c8e7a6e132dd0061..54fb37a3a35cbc8ae38e3d96d2a2775e12b37c04:/pseudoku/__init__.py 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)