3:53 am
MrOoijer

ng/ng once you start noticing - URs evruwhere

5:11 am
Marc

Anyone know why the Java Script does not work anymore?

5:12 am
Diane

Marc, you mean greens? I'm not having any problems (Chrome user).

5:17 am
Marc

There is a code you put into your browser and when you enter is it populates all the squares with all the possibilities and some numbers are red which are the most likely.

5:19 am
Diane

Yes, I use that - but mine only shows greens. I'm not having a problem (I do know there is a red-green version).

5:20 am
Marc

here is the code I use: javascript:%20var%20y1=1,y2=9,x1=1,x2=9;%20fo\nr(i=y1;i<=y2;i++)%20{%20for(j=x1;j<=x2;j++)%2\n0{%20if(grid[i][j].value==%22%22)%20{%20Clear\nTinySquares(i,j);%20}%20}%20}%20for(i=y1;i<=y\n2;i++)%20{%20for(j=x1;j<=x2;j++)%20{%20if(gri\nd[i][j].value!=%22%22)%20{%20var%20tmp_value=\ngrid[i][j].value;%20for(k=y1;k<=y2;k++)%20{%2\n0for(l=x1;l<=x2;l++)%20{%20if(grid[k][l].valu\ne%20==%20%22%22)%20{%20if((Math.ceil(i/3)%20=\n=%20Math.ceil(k/3)%20&&%20Math.ceil(j/3)%20==\n%20Math.ceil(l/3))%20||%20i==k%20||%20j==l%20\n)%20{%20grid[k][l][%22mini%22][tmp_value]=-1;\n%20}%20}%20}%20}%20}%20}%20}%20for(i=y1;i<=y2\n;i++)%20{%20for(j=x1;j<=x2;j++)%20{ %20if(grid[i][j].value==%22%22)%20{%20for(k=1\n;k<=9;k++)%20{%20if(grid[i][j][%22mini%22][k]\n!=-1)%20grid[i][j][%22mini%22][k]=1;%20else%2\n0grid[i][j][%22mini%22][k]=0;%20}%20}%20}%20}\n%20for(i=y1;i<=y2;i++)%20{%20for(j=x1;j<=x2;j\n++)%20{%20if(grid[i][j].value==%22%22)%20{%20\nvar%20tmp=new%20Array();%20tmp=Array(10);%20t\nmp[1]=0;%20tmp[2]=0;%20tmp[3]=0;%20tmp[4]=0;%\n20tmp[5]=0;%20tmp[6]=0;%20tmp[7]=0;%20tmp[8]=\n0;%20tmp[9]=0;%20for(%20k=1;k<=9;k++)%20{%20i\nf(grid[i][j][%22mini%22][k]==1)%20{%

20for(%2\n0r=(Math.floor((i-1)/3)*3)+1;%20r<=Math.ceil(\ni/3)*3;r++)%20{%20for(s=(Math.floor((j-1)/3)*\n3)+1;%20s<=Math.ceil(j/3)*3;s++)%20{%20if(%20\nMath.abs(%20grid[r][s][%22mini%22][k]%20)%20=\n=%201%20)%20{%20tmp[k]++;%20}%20}%20}%20}%20i\nf(%20tmp[k]%20==%202%20||%20tmp[k]%20==%201)%\n20{%20grid[i][j][%22mini%22][k]=-1;%20}%20}%2\n0delete%20tmp;%20}%20}%20}%20PopulatePuzzle(g\nrid);%20void(0)

5:22 am
Diane

Mine: javascript:for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value == '') {ClearTinySquares(i,j);}}}for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value != '') {var tmp_value = grid[i][j].value;for (k=1; k<=9; k++) {for (l=1; l<=9; l++) {if (grid[k][l].value == '') {if ((Math.ceil(i/3) == Math.ceil(k/3) && Math.ceil(j/3) == Math.ceil(l/3)) || i == k || j == l) {grid[k][l]['mini'][tmp_value] = -1;}}}}}}}for (i=1; i<=9; i++) { for (j=1; j<=9; j++) { if (grid[i][j].value == '') { for (k=1; k<=9; k++) { if (grid[i][j]['mini'][k] != -1) grid[i][j]['mini'][k] = 1; }}}}for (i=1; i<=9; i++) {for (j=1; j<=9; j++) {if (grid[i][j].value == '') {for (k=1; k<=9; k++) {if (grid[i][j]['mini'][k] != 1) grid[i][j]['mini'][k] = 0;}}}}PopulatePuzzle(grid);void(0);

5:22 am
Marc

try mine and see if it works

5:23 am
Diane

I'm already finished - can do so tomorrow, sorry.

5:24 am
Marc

How is Lenny doing? Did you survive the Hurricane OK? Also, where are you in Florida. I am coming down the beginning of November and would love to see you guys

7:17 am
drwho

Marc, if you enter the red/green code in your browser's URL field, my guess is that you have recently been forced to use a new browser (Edge?). In any case, modern browsers no longer allow entering JavaScript in the URL line for security reasons. Try putting your code in a bookmark.

10:18 am
ellenz

will someone explain the code to me?

12:27 pm
UnikeTheHunter

Nothing Medium about it. Easy all the way. 10.

4:34 pm
Montreal13

Done - finally made it to the top of the "pros" rankings...a mere 110 points away from the BOTTOM of the "experts" rankings...sigh

9:46 pm
JudyHall

Congratulations, Montreal13 !

9:47 pm
Montreal13

thanks JH !

9:48 pm
Montreal13

working year 2011...February to be precise...

9:50 pm
JudyHall

I am working backwards, too, but I'm only in May 2016 ... a long way to go (chuckle)

9:50 pm
Montreal13

go Judy go !

9:53 pm
Montreal13

...and another one bites the dust !

9:54 pm
Montreal13

i think that will do for now - good night JudyHall and take care - poof

11:43 pm
Phil

done with a big break