Slither Solver Code
Status: Beta
Brought to you by:
djense2000
File | Date | Author | Commit |
---|---|---|---|
LICENSE | 2009-07-18 | djense2000 | [r1] Initial version of the slither solver |
README | 2009-07-18 | djense2000 | [r1] Initial version of the slither solver |
slither_solver.py | 2009-07-18 | djense2000 | [r1] Initial version of the slither solver |
INSTALLATION The slither_solver.py script does not need any installation RUN To run, just launch the python script from a shell (terminal or DOS window) and give it the input file name as argument. The file needs to follow this format : The first line is the size of the puzzle as "height, width" The rest of the text file is the table itself with '.' when there is no hint and the number (0,1,2 or 3) when present. For example (puzzle id 1 of 5x5 Loop Normal from http://www.puzzle-loop.com/) 5,5 323.. 22..2 2.2.. 120.1 .333. During the execution, the puzzle will be printed periodically as the solution is being found. And the program exits after printing the final solution. Matthieu