You are not logged in.

- Topics: Active | Unanswered

**Ninja 101****Member**- Registered: 2006-02-20
- Posts: 936

it would!

i'll probably film myself doing it.

Chaos is found in greatest abundance wherever order is being saught. It always defeats order, because it is better organized.

Offline

**Ricky****Moderator**- Registered: 2005-12-04
- Posts: 3,791

Ok, after a few weeks break, somewhat due to other work I have but mostly due to just plain forgetting about this, I have started to write up the explanation.

But upon doing so, I realized all that I would have to explain: sets, subsets, maps, operation, well defined, inverses, identity, closed sets, and the like. And that's not even mentioning groups. If I were to explain it all in detail, I might as well write a book.

So I think the explanation may be out. I could write an explanation for people who know what those are, but people who know that much and are visiting this site (no offense of course) are few and far between, and thus, it would be an exercise in futility.

But I am still very intrigued by writing an engine for it, and I will start working on that today and this weekend. Hopefully, I will come up with something by monday.

"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

Understood!

If you can get the Sudoku Engine up and running it will be a good achievement.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

Ricky got me interested in Sudoku, and I couldn't resist it, so I have secretly been working on a Sudoku Engine.

My first version starts with an already solved grid, mixes it up, then removes some numbers. Works fast, but then I discovered I couldn't guarantee a unique solution, and serious puzzlers would hate it.

So, Version 2 starts from an empty grid, then randomly adds numbers until there is a single solution. Very slow to generate a puzzle, because computer has to solve puzzle at each step. But makes for a good puzzle.

I will try to bring it all together under the interface I developed to show you guys.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**renjer****Member**- Registered: 2006-04-29
- Posts: 50

I hope you'll put some sort of "real-time" mechanism to tell us if the number we put into the sudoku box is wrong (maybe the box will turn red or something). It helps a lot to figure out our mistakes, rather than waiting till the end, and suddenly realising that there's a mistake.

*Last edited by renjer (2006-05-07 00:44:32)*

Offline

**Patrick****Real Member**- Registered: 2006-02-24
- Posts: 1,005

Well renjer, that's a part of the puzzle, to be able to right your wrongs.. To me it is, atleast

*Last edited by Patrick (2006-05-07 01:11:35)*

Support MathsIsFun.com by clicking on the banners.

What music do I listen to? Clicky click

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

Give it a test, guys: Sudoku Game

The suggestion by renjer is on my "to do" list - I won't show you if you are *wrong* (or else you could just test 0 to 9 on every square to solve it), but I will show you "conflicts". Something like highlighting in red all numbers that are duplicated in a row/column/cell. Is that good?

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**Ninja 101****Member**- Registered: 2006-02-20
- Posts: 936

Aghast!

Chaos is found in greatest abundance wherever order is being saught. It always defeats order, because it is better organized.

Offline

**jU****Real Member**- Registered: 2005-08-17
- Posts: 1,923

I solved the begginer puzzle and I am

Hopless

Offline

**Patrick****Real Member**- Registered: 2006-02-24
- Posts: 1,005

Sure is MathsIsFun(Rod is it?) - you should make a check-box where you could enable/disable that option though..

*edit* just tried it, and I have to say good job! I think what you're doing, with this site in general, is very admirable! Keep up the good work, I really do believe it helps people out with learning how to use math, logic, and whatever comes with that. Thumbs up! [/suckUp](I do mean it tho )

*Last edited by Patrick (2006-05-09 10:23:01)*

Support MathsIsFun.com by clicking on the banners.

What music do I listen to? Clicky click

Offline

**justlookingforthemoment****Moderator**- Registered: 2005-05-26
- Posts: 2,161

Yay! Sudoku! It's great!

Some problems/suggestions:

* An easier-to-read font (for the numbers especially). I misread threes for eights and vice versa.

* When I tried to build an Advanced Hard (also, is there a better way to phrase this level?) grid each number loaded one by one at about a rate of one number per second. And my browser window started responding very slooooowly.

* The MathsIsFun.com home link doesn't work.

Offline

**theotherwhiteguy****Member**- Registered: 2007-06-09
- Posts: 1

Looks good except the "medium" difficulty is way too simple; the advanced hard is really difficult, but I agree above, really slow loading.

I would say put the numbers red if you double up a number in a line or box, but don't do it just because the number is wrong; that would encourage guessing until the color is correct.

*Last edited by theotherwhiteguy (2007-06-09 13:12:42)*

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

Thanks for the feedback. When I can spare some time for a rewrite I will try that.

Offline

**ladysovereigna****Banned**- Registered: 2007-06-16
- Posts: 2

*Spam deleted - Ricky*

Offline

**JaneFairfax****Member**- Registered: 2007-02-23
- Posts: 6,868

I just tried an Advanced Hard game on that Sudoku page and I have a suggestion. The 3 and the 8 in that puzzle look too confusingly similar!

Can the font be changed so that they look more distinguishable? When youre deep in thought in such a game as this, youll really appreciate not having to be confused by similar-looking things.

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

True ... I will have a look at it.

Offline

**power man****Member**- Registered: 2006-12-26
- Posts: 160

i can not wait to see and play it

I hate people who hate people.

most people make mistakes, butt not me!

why is it when you are writing something important you run out of spa

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,664

Don't wait, just go there now!

Offline

**anju****Member**- Registered: 2008-03-24
- Posts: 2

Hi ricky,

Can u send the FLA of the sudoku u worked?im badly in need of it.

thanks in advance.

anju

Offline