Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#26 2006-03-29 23:30:29

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

Re: Sudoku

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

#27 2006-03-30 09:27:41

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

Re: Sudoku

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

#28 2006-03-30 17:08:09

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

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

#29 2006-04-27 19:47:48

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

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

#30 2006-05-07 00:43:12

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

Re: Sudoku

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

#31 2006-05-07 01:11:20

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

Re: Sudoku

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

#32 2006-05-08 21:41:05

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

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

#33 2006-05-09 00:28:51

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

Re: Sudoku

Aghast!


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

Offline

#34 2006-05-09 09:40:15

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

Re: Sudoku

I solved the begginer puzzle and I am
Hopless

Offline

#35 2006-05-09 10:14:29

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

Re: Sudoku

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 wink)

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

#36 2006-05-09 21:29:53

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

Re: Sudoku

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

#37 2007-06-09 13:09:20

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

Re: Sudoku

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

#38 2007-06-13 23:13:30

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

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


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

Offline

#39 2007-06-18 16:57:16

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

Re: Sudoku

Spam deleted - Ricky

Offline

#40 2008-03-16 03:08:45

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

Re: Sudoku

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! neutral

3and8.png

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

Offline

#41 2008-03-16 08:14:38

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

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


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

Offline

#42 2008-03-16 12:18:17

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

Re: Sudoku

i can not wait to see and play it


I hate people who hate people.
most people make mistakes, butt not me! smile smile
why     is     it     when     you     are     writing     something     important     you     run     out       of        spa

Offline

#43 2008-03-16 13:18:15

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,640

Re: Sudoku

Don't wait, just go there now!


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

Offline

#44 2008-03-24 19:44:00

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

Re: Sudoku

Hi ricky,

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

thanks in advance.

anju

Offline

Board footer

Powered by FluxBB