Saturday, March 04, 2006

 

Dave's Sudoku solver at think400.dk

The following recent thread on the MIDRANGE-L list over at MIDRANGE dot COM caught my attention: Sudoku on an iSeries


A webified version of the sudoku solver is available, but I found the original version written by Dave Kahn to be more interesting.


First, Dave's Sudoku Solver is written in RPG. If you examine the source code, you'll find a writing style that exemplifies effective use of /free format and subprocedures.


Second, it runs on the green screen (or "natively," as some call it here).


A 830KB save file with everything pre-compiled can be downloaded from http://think400.dk/downloads.htm (the actual save file is here).


I fed the program an "evil"-rated puzzle, and it was solved in 32 steps.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?