Sudoku
Flying Cucco
Posts: 4
A simple Sudoku program in spin, for the Hydra
Keyboard & Mouse
Post Edited (Flying Cucco) : 4/21/2007 1:29:16 AM GMT
Keyboard & Mouse
- left-click on square to select
- 1-9: write in number
- Backspace: rub out
- L: toggle protection
- R: restart
- C: wipe the whole puzzle
- S: let the Hydra solve it
- N: randomly make a new puzzle
Post Edited (Flying Cucco) : 4/21/2007 1:29:16 AM GMT
Comments
http://www.elektor-electronics.co.uk/Default.aspx?tabid=27&art=52968&PN=On
regards peter
It is appears that your program does not place the starting clue numbers in the same way that the published puzzles do. I have noticed that their unsolved puzzle clues always are symetrical along one of the two diagonals.
I really don't know if this is important. I just have been wondering about the symetry ever since the puzzles came out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Strange, I've never noticed that before. Thanks for pointing that out
It seems some do, and some don't exhibit this symmetry, depending on the source.
I know that my program doesn't make puzzles with unique solutions, which is another annoyance.
96kiB is space for more than 2400 grids so a database of puzzles or algorithms to make them would be great.
I had actually considered it to be the publishers method of determining difficulty.·· But the two factors may be interelated.·You may notice that Monday puzzles [noparse][[/noparse]these and crosswords] are always the easiest.· They get progressively more difficult through Sunday.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
First off, make an opening screen. Create a title screen with a start button on it or something.
Second, give it some sound. Bring the game to life with some sound effects, and if you are really ambitious, have a sond playing in the background.
Third, I think you should only have a cell selected only if the mouse cursor is over it. So if you move the cursor off the game board, then have none of cells selected.
But all in all, pretty nice.
Living is Asia, I see a lot of non-ergonomic high tech. Seems that much of the world hasn't discovered the need for it.
These days I am realizing more and more that user interface code can amount to quit a bit, but it really is necessary to make a program acceptible to non-techies.
Great suggestions. I also helps to have an EXIT.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
I've done some updates; a title screen (pretty random, sorry!) and changed how the mouse works. You now click to select, rather than hover. Also you must click in a cell, not around or offscreen which should be a bit easier.
Music and sound is something I'm still working on [noparse]:)[/noparse]
Andre'
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"
Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
Thanks
Real_Random is on the Propeller forum and in the Object Exchange.
Not sure about spin_trig_010.
JB
JB