By Swooperz on
Hi All.
I would love to add a daily Sudoku puzzle to my sites. ..
Does anyone know if one is in the works? I saw the PHP Nuke has one, while searching Google.
As an alternative, does anyone know if there is any PHP Snippet/Code out there that may accomplish the same thing?
Thanks!! :)
Comments
Are you wanting to
just publish puzzles, or to solve them?
For publishing, you could just use an HTML table couldn't you? Or are there plans for something like automatic importing from somewhere else with specific node types and solutions, archives etc?
--
Anton
Yes, I would want a fully
Yes, I would want a fully interactive puzzle, where the user can play, get hints, see the solution, etc.
Being able to put in temporary guesses into the puzzle would be a plus, too.
Anything like that out there? Javascript, Java, PHP?
All I found was pretty weak stuff.
How's your Python? ;)
I've been writing some sudoku solving scripts in my spare time to improve my rudimentary Python skills. Sudoku seemed a good level of problem - relatively simple but not too trivial.
Once I've tidied them up a bit, you're welcome to look at them (I'm sure there are plenty of others around). But I'm not sure how well they would translate into a PHP Drupal module though. I do have plans to develop it into interactive puzzles eventually (GUI based not web based though).
But your module sounds like it doesn't actually need any 'solving', the site admin could just enter the pre-solved solution to allow for hints etc.
--
Anton
If there is something you
If there is something you already like in PHP Nuke is it not a case of just porting that over to Drupal?
Could you provide a link to the php nuke block, and an example of it in action?
--
Custom Drupal templates | More Drupal modules
--
Ixis (UK): Drupal support, Drupal hosting.
You know, I can't seem to find that anywhere now...
I am not sure how I stumbled onto it, but now I cannot find the page where that Sudoku PHP Nuke module was.
I downloaded it, but the index.html files are all 0 bytes and there are tons of scattered PNxxx folders and files, but they don't mean much to me.
Which leads to the other post about Python. I am clueless when it comes to scripting languages other than basic javascript and php and don't have the time, unfortunately, to try and learn something else now.
Nonetheless, I am going to look into the Sudoku algorithms used anyway, at some point, and see if I could make my own Flash version of Sudoku, since I know basic ActionScript.
But again, if this is already done and is not so completely branded by another website/company, I would love to use a pre-existing version as long as it can show the solution, allows guess markings (ie, "a 1, 3, or 7 could go in this box"), and can be printed out for solving on paper instead.
Those are the hopeful features that I am looking for.
Thanks for everyones' replies. =)
I would've thought, being in the top 20 searches on Google for this month, that there would be tons more interest in/solutions for dropping a Sudoku Puzzle into a Drupal block or node.
Javascript solution
A lot of JS sudokus exist around, it should not be hard to import it into a "dumb" module.
Look http://www.geocities.com/binnyva/code/javascript/sudoku/sudoku_beta.html for instance.
Thanks for the suggestion but I need something fancy...
Thanks for the suggestion but I am looking for something a bit more graphical.
This is why I am looking at Flash now, as an ASCII version of Sudoku isn't going to dazzle my readers very much. =)
I will see if I can luck out and find a decent java applet of Sudoku, but I don't see javascript being the ideal platform for a graphical puzzle.
Sudoku Game For Your Website
It's funny you should want this. I wrote something that meets your needs a couple of weeks ago on www.counttonine.com. You can add sudoku games to your website in about 2 seconds. http://www.counttonine.com/syndicateInstructions.htm. Please let me know if it meets your needs. Today it was also ranked as the #1 site on http://sudoku.toplisted.net.
Thanks,
Wayne
Yes
I have one about 90% done. Do you still want it?
NancyDru
NancyDru
do u want a 3-D Sudoku?
do u want a 3-D Sudoku?
3D soduku, 3d chess, 3d
3D soduku, 3d chess, 3d mahgon, please LOL