04-15-2003, 10:48 PM
Here it is
ReadMe File:
ReadMe File:
Quote:Cross Sum Solver
================================
by wizardcode
Okay, here it is. It's not very user friendly because I never
intended it for public release. Basically it solves the puzzles
by alternating between logical reasoning and a brute-force
recursion algorithm.
For examples sake, load up the file SUMCROSS.TXT on startup of
the program. You have to include the extension. Then press 'G'.
I originally planned this in QB, but for lack of stack space
had to switch to Turbo Pascal. Now I store the boards on the
heap and just pass pointers through the stack.
Controls:
LeftClick - whatever's on the brush (bottom left of screen)
RightClick - clear
Space - run the logical part of the algo only
G - run the whole thing to completion
ESC - get out.
Note: There is no exiting from the recursive routine once you
start it, so if a board is unsolvable, you might get some really
wierd results. Anyhow, there it is. Good luck.