Infractus

Blog
Sketches
Toys
Writing
Downloads
Links
Contact


Toys
Sometimes I write little Javascript pages just to keep myself amused; sometimes they are for some specific purpose and sometimes they are just extensions of some idea I've had. Either way, here are some of them. I make no claim to multiple browser compatibility. Hell, Half of these barely work in a single browser! If you find something which doesn't work then just remember that you're probably not missing anything special.





urferBill introduced me to SuDoku (which is apparently very popular at the moment.) I had a brief phase where I would solve one of the daily puzzles posted online but I got frustrated with the interface they created, so I decided to create my own little SuDoku validator (which will doubtless frustrate anyone other than myself!) I couldn't resist trying to write a basic solver as well. It's not particularly clever and there are more comprehensive pages out there but I did it anyway.

Use the cursor keys, wasd keys or mouse to hilight squares, ('0' will clear a digit or scratch) then use the number keys to enter digits. Most of the buttons should be fairly self explanatory. Scratch mode just lets you type numbers above the main digit and you can use the '-' key to switch in and out of that mode. (If all numbers could be entered in a square then the scratch is left empty.) All the Solve button does is repeatedly fill out all the scratch numbers and then fill in those with only one option. It won't solve all SuDoku but it'll do quite a lot of them.

 
Show effected area around cursor.
Auto validate when setting numbers.
Auto fill scratch when setting numbers.
Scratch mode. ('-' key)












All content on this website (including images, writing, javascript and any other original works,) unless otherwise noted, is licensed under a Creative Commons License and is copyrighted © 1995-2009 by me, M.G.Spencer. If you have questions or feedback related to anything on this website then please Contact Me.