Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cross Sum Solver
#2
Here it is

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.
Reply


Messages In This Thread
Cross Sum Solver - by wizardlife - 04-13-2003, 02:37 AM
Cross Sum Solver - by wizardlife - 04-15-2003, 10:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)