Script Summary: Shows whether there are overlaps in the rows/columns of a game. Also highlights the borders better.
This is for the nonogram puzzle site Gamelo.net. You can see a sample puzzle here:
http://gamelo.net/Public/gamePage.aspx?mode=gam...
(I am assuming for now that you know how to work nonograms.)
This is hard to explain... basically, I have a formula that tells me whether rows/columns have overlaps I can start with.
Let us take an example.
* The second-to-the-last column contains the numbers 6 and 5.
* The sum of the numbers is 11.
* There must be at least one space between the numbers, so the formula becomes (sum of numbers) + (count of numbers minus one). In this case, the total is now 12.
* This is a 15x15 grid.
* 15 cells tall minus 12 cells that will absolutely contain a black or white dot == 3.
* The largest number in that column is 6.
* As 6 is greater than 3, there will be overlap.
* So I put an X at the bottom, to show there'll be an overlap.
I don't expect this to make sense without me recording a video.
CHANGELOG
* 2009-03-27 10:11: Added an option to show the numbers. Basically, see the example above. You can safely assume that of the five spots, two of them will overlap - because 3 is removed. So 3 will show up, instead of X.
* 2008-12-26 12:06: Added a bit of scripting via the myCSS script elsewhere, to highlight things.
* 2008-12-25 13:59: Added a button to remove the rows, as the entire table is in the form...



