|
I'm bored |
|
This is a long thread. Click here to view the threaded list. |
|
Jeffrey Lee |
Message #66134, posted by Phlamethrower at 21:55, 31/5/2005, in reply to message #66133 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Well, it's writing stuff in the right places now, it just happens to be writing the wrong stuff |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66135, posted by Phlamethrower at 22:10, 31/5/2005, in reply to message #66134 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
For some reason it thinks it can overwrite cells which have already been filled |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66139, posted by Phlamethrower at 22:41, 31/5/2005, in reply to message #66135 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
*fixes some code to prepare for introduction of the backtracking stuff*
[edit]
And the overwriting stuff is fixed now. If you check for possible values of filled cells, it actually is possible to conclude that you can overwrite it with a new value
[Edited by Phlamethrower at 23:42, 31/5/2005] |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66140, posted by Phlamethrower at 22:52, 31/5/2005, in reply to message #66139 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Added some non-backtracking stuff, but it decided to cheat when the puzzle was almost complete and put the same number twice in the same grid |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66141, posted by Phlamethrower at 23:14, 31/5/2005, in reply to message #66140 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
/me hax it to fix what could be the bug, but side effect of the hax is decreased speed |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66142, posted by Phlamethrower at 23:17, 31/5/2005, in reply to message #66141 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Bah, got down to the two last spaces, at which point it bailed because it needed to backtrack |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66147, posted by Phlamethrower at 23:45, 31/5/2005, in reply to message #66142 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
/me bows down to the mastery that is stackstacks and the 'k' instruction
/me tests to make sure it works |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66148, posted by Phlamethrower at 23:54, 31/5/2005, in reply to message #66147 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Well, that bit works, but there's a bug in the bit next to it |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66149, posted by Phlamethrower at 00:00, 1/6/2005, in reply to message #66148 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
/me fixes and waits again... |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66150, posted by Phlamethrower at 00:15, 1/6/2005, in reply to message #66149 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
/me tries again... |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66151, posted by Phlamethrower at 00:34, 1/6/2005, in reply to message #66150 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I think there's another bug in my interpreter |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66157, posted by Phlamethrower at 01:37, 1/6/2005, in reply to message #66151 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
OK, it should work this time
And luckily it wasn't an interpreter bug |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66158, posted by Phlamethrower at 01:40, 1/6/2005, in reply to message #66157 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Bah, there *is* an interpreter bug
Lukcily it's just in the status bar display. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66159, posted by Phlamethrower at 01:52, 1/6/2005, in reply to message #66158 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
It's working, but it's slow |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66160, posted by Phlamethrower at 01:59, 1/6/2005, in reply to message #66159 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Huzzah! |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66161, posted by Phlamethrower at 02:12, 1/6/2005, in reply to message #66160 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
c0de! |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66162, posted by Phlamethrower at 02:14, 1/6/2005, in reply to message #66161 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Now who wants to write a version in Brainfuck? |
|
[ Log in to reply ] |
|
Tony Haines |
Message #66166, posted by Loris at 10:30, 1/6/2005, in reply to message #66161 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
c0de! I'm impressed. I haven't run it myself, I trust it works. How many have you tested it on? |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66168, posted by Phlamethrower at 10:53, 1/6/2005, in reply to message #66166 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
c0de! I'm impressed. I haven't run it myself, I trust it works. How many have you tested it on? Just one
You'll need a funge-98 interpreter (*cough*) to run it. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66169, posted by Phlamethrower at 11:22, 1/6/2005, in reply to message #66168 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Today's puzzle must be easier - it solves that one without backtracking |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66171, posted by Phlamethrower at 11:28, 1/6/2005, in reply to message #66169 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Bah, no-one seems to make 16 symbol puzzles |
|
[ Log in to reply ] |
|
Tony Haines |
Message #66173, posted by Loris at 12:43, 1/6/2005, in reply to message #66171 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
I suggest you look at Wikipedia:Sodoku
Not only does this have a set of pointers to variants, it also describes some of the more interesting logical possibilities (see for example "unmatched candidate deletion").
And you could add your solver to the list at the bottom, for eternal glory. But I suggest you test it a bit more first. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66174, posted by Phlamethrower at 13:21, 1/6/2005, in reply to message #66173 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
And you could add your solver to the list at the bottom, for eternal glory. But I suggest you test it a bit more first. You doubt the accuracy of my code?
Oooh, this is my 6999th post. I'd better have something important to say for my next one
Not only does this have a set of pointers to variants So how come I can't find any of them?
[Edited by Phlamethrower at 15:16, 1/6/2005] |
|
[ Log in to reply ] |
|
Tony Haines |
Message #66179, posted by Loris at 14:26, 1/6/2005, in reply to message #66174 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
You doubt the accuracy of my code? Well, I manually solved the one you posted a picture of, and got the same result. But in my experience just because a program works for one input doesn't guarantee that it will work for everything.
Not only does this have a set of pointers to variants So how come I can't find any of them? Maybe they arn't available on the internet
Actually, I've got a subtle plan for a combined puzzle. Might try and reify an example later.
Edit: quoting
[Edited by Loris at 10:39, 2/6/2005] |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #66197, posted by Phlamethrower at 23:19, 1/6/2005, in reply to message #66179 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Not only does this have a set of pointers to variants So how come I can't find any of them? Maybe they arn't available on the internet Well that's stupid then! How are we meant to do stuff it it isn't available on the Internet?
Actually, I've got a subtle plan for a combined puzzle. Might try and reify an example later. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #69498, posted by Phlamethrower at 11:45, 21/9/2005, in reply to message #66197 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Pfft, someone in Qercus has written one in BASIC. And it doesn't even support different sizes of grid!
Amateurs |
|
[ Log in to reply ] |
|
Phil Mellor |
Message #69500, posted by monkeyson2 at 11:57, 21/9/2005, in reply to message #69498 |
Please don't let them make me be a monkey butler
Posts: 12380
|
Pfft, someone in Qercus has written one in BASIC. And it doesn't even support different sizes of grid!
Amateurs You have teh Qercus? |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #69501, posted by Phlamethrower at 12:02, 21/9/2005, in reply to message #69500 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
You have teh Qercus? Yes |
|
[ Log in to reply ] |
|
Tony Haines |
Message #69504, posted by Loris at 13:26, 21/9/2005, in reply to message #69501 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
You have teh Qercus? Yes Metoo. But I haven't seen anything inside yet, apart from glimpsing its sodoku solver. |
|
[ Log in to reply ] |
|
John Hoare |
Message #69505, posted by moss at 13:55, 21/9/2005, in reply to message #69504 |
Posts: 9348
|
You have teh Qercus? Yes Metoo. But I haven't seen anything inside yet, apart from glimpsing its sodoku solver. Soduku cover?
Because clearly there hasn't been saturation coverage of that everywhere else. FFS. If I want to read a RISC OS mag, I want something slightly different than mainstream stuff. |
|
[ Log in to reply ] |
|
Pages (4): |< <
3
> >|
|