SudokuSolver Forum http://www.rcbroughton.co.uk/sudoku/forum/ |
|
Star Battle Killer http://www.rcbroughton.co.uk/sudoku/forum/viewtopic.php?f=13&t=1393 |
Page 1 of 1 |
Author: | h3lix [ Fri Nov 25, 2016 2:48 am ] |
Post subject: | Star Battle Killer |
Here's a puzzle I posted to the Daily League yesterday Place the numbers 1-8 and two stars in each row, column, and jigsaw group. Stars cannot touch each other, even diagonally. Numbers cannot repeat within cages. Stars count as 0 in cages. |
Author: | wellbeback [ Tue Nov 29, 2016 4:35 pm ] |
Post subject: | Re: Star Battle Killer |
Hi h3lix. One question. Can stars repeat in cages? Thanks - wellbeback. Update: Never mind. I see the answer is yes. The 3(4) cage requires two stars! |
Author: | h3lix [ Wed Nov 30, 2016 6:40 pm ] |
Post subject: | Re: Star Battle Killer |
That's correct. Cages can have any number of stars. |
Author: | HATMAN [ Thu Dec 01, 2016 5:35 am ] |
Post subject: | Re: Star Battle Killer |
Pleasant puzzle H3lix and a beautiful example. I tried it a couple of times on paper and kept making mistakes - so I loaded it into JSudoku where it does not solve. If you remember back with Mike Japan's 007 puzzles we occasionally had this. The reason is that JC's coding has two separate zeros say 0 and 0'. If you consider your 3(4) it must have 1,2, 0 and 0'. Whereas LOL on r12345 means r6c2 (6/8) = r5c6 (7/8) and r5c9 (0/0'/1/2) = r6c7 (0/0'/1/2). r5c9 and r6c7 are both in 3(4) so must be 0 0 or 0' 0'. Hence the conflict - but not on paper. Cheers Maurice |
Author: | h3lix [ Thu Dec 01, 2016 10:36 pm ] |
Post subject: | Re: Star Battle Killer |
Thanks Maurice! I was having trouble getting JSudoku to generate a star battle solution in the first place, since as you mentioned JC's code handles duplicate values as different numbers and FNC, NC, and AK concurrently in a Latin Square grid produces no solution. I had to manually grab all the 9's from a solution, put it into a new grid, remove all A candidates from cells surrounding 9's, turn on anti-king, and hope there was a solution. 9 times out of 10 there wasn't. I just now tried a different approach: Set a 10x10 Latin Square grid with the values 0,1,3,5,7,9,B,D,F,H, turn on NC, FNC, and AK, and voila, the 0's and 1's in a generated grid form a star battle solution! I just hope that somehow AK on the other values doesn't limit the possible number of solutions that can be generated. |
Author: | Andrew [ Mon Dec 05, 2016 12:06 am ] |
Post subject: | Re: Star Battle Killer |
Thanks h3lix for an interesting and enjoyable puzzle. I also took several tries, for the reasons given in my walkthrough, but after that when I re-worked it, the puzzle was fairly easy. Here is my walkthrough for Start Battle Killer: Solution: |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |