Sudoku

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
kanenas.net
Forum Newbie
Posts: 12
Joined: Sun Jun 26, 2005 12:29 pm
Location: Athens - Greece
Contact:

Sudoku

Post by kanenas.net »

Has anyone tried to make a php-script for the sudoku game ???
:D
wyred
Forum Commoner
Posts: 86
Joined: Mon Dec 20, 2004 1:59 am
Location: Singapore

Post by wyred »

Not sure if this was made with PHP.

http://www.websudoku.com/
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Okay someday when I have some time to kill.... 8O
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

I was going to make one a long time ago when they first came out, just for the fun of figuring out the most efficient way to solving it (writing an algorithm VS just guessing over and over), but I had found out it had already been done

But yeah, it's been done
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

I was bored on a flight back from Florida [to MA] -> Made one on the plane :D
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

Nice, what approach did you use?
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Solved my first Sodoku! Wasn't too bad. But it was an 'easy' puzzle.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to General Discussion.
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

I recently became addicted to it on a friend's forum. It's a phpBB mod, found on http://www.phpbbhacks.com.

I beat all of the grids in the first pack, and I'm waiting for the admin to install more...
User avatar
kanenas.net
Forum Newbie
Posts: 12
Joined: Sun Jun 26, 2005 12:29 pm
Location: Athens - Greece
Contact:

Post by kanenas.net »

Nathaniel wrote:I recently became addicted to it on a friend's forum. It's a phpBB mod, found on http://www.phpbbhacks.com.

I beat all of the grids in the first pack, and I'm waiting for the admin to install more...
Looks good !!! I wil try it as soon as possible...
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

Sorry for such a late response to the "what approach" question. Basically I figured out that if you go through each row, each column, and each 3x3, then there are boxes that have only one possibility. So i started with an array of 9 values in each box, then iterated through each row, column, and 3x3, knocking out the possibilities from the array til there was only one value left. With an easy puzzle, it took about 11 iterations to solve it. Harder puzzles got up to about 20.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Call me stupid, but I couldn't figure out how to play. Any takers care to explain?
User avatar
kanenas.net
Forum Newbie
Posts: 12
Joined: Sun Jun 26, 2005 12:29 pm
Location: Athens - Greece
Contact:

Post by kanenas.net »

Jcart wrote:Call me stupid, but I couldn't figure out how to play. Any takers care to explain?
Jcart, the only thing you have to do is...

Enter digits from 1 to 9 into the blank spaces. Every row must contain one of each digit. So must every column, as must every 3x3 square.

Visit websudoku.com and try some...

:wink:
User avatar
moiseszaragoza
Forum Commoner
Posts: 87
Joined: Sun Oct 03, 2004 4:04 pm
Location: Ft lauderdale
Contact:

Post by moiseszaragoza »

When you get it I would love to get a copy of it
Post Reply