X-Git-Url: http://git.veekun.com/pseudoku.git/blobdiff_plain/bbf0c8e40c0b3205d7e8e0ec83e13374a0bf7f56..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)