Rick
2009-11-01 19:29:09
Scarduku v2
I found this script in an old backup of mine, and I thought, why not update it ?
Scarduku:
This is a Sudoku game in Scar.
* Yes, I did realise Scarduku should probably be Scardoku …
Features:
* Answer Checking
* Puzzles from files
* Timing
* Saving
Future Updates:
* Better File Handling [Multiple Puzzles in a Single File]
* Improve Timing
* Generator/Solver
Credits:
Original credits apply.
Cruel for the idea of the puzzle management.
Ron for pointing out bugs in the original version. Although I rewrote most things. And for looking through his DFM Parser code for file manipulation.
Notes:
This is a rewrite of http://www.villavu.com/forum/showthread.php?t=4509.
Puzzles are in Scarduku files or Text files. To build an example file change the constant "BuildDemo" to true and run the script.
If you want to make your own puzzle you can do so as follows:
First 81 numbers are the challenge itself. In columns up to down. Blank squares are "0" [Zero]. The next 81 one characters are the solution. 162 characters in total.
If you do make your own please post them :)
I have attached an easy puzzle as a text file.
Enjoy.