Page 1 of 1

Sudoku

Posted: Sun Dec 04, 2005 9:51 am
by kanenas.net
Has anyone tried to make a php-script for the sudoku game ???
:D

Posted: Sun Dec 04, 2005 9:27 pm
by wyred
Not sure if this was made with PHP.

http://www.websudoku.com/

Posted: Sun Dec 04, 2005 9:30 pm
by neophyte
Okay someday when I have some time to kill.... 8O

Posted: Sun Dec 04, 2005 9:38 pm
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

Posted: Sun Dec 04, 2005 10:09 pm
by Todd_Z
I was bored on a flight back from Florida [to MA] -> Made one on the plane :D

Posted: Sun Dec 04, 2005 10:53 pm
by josh
Nice, what approach did you use?

Posted: Sun Dec 04, 2005 10:58 pm
by neophyte
Solved my first Sodoku! Wasn't too bad. But it was an 'easy' puzzle.

Posted: Sun Dec 04, 2005 11:18 pm
by John Cartwright
Moved to General Discussion.

Posted: Mon Dec 05, 2005 8:08 am
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...

Posted: Mon Dec 05, 2005 9:29 am
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...

Posted: Wed Dec 07, 2005 6:13 pm
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.

Posted: Wed Dec 07, 2005 6:14 pm
by John Cartwright
Call me stupid, but I couldn't figure out how to play. Any takers care to explain?

Posted: Thu Dec 08, 2005 9:10 am
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:

Posted: Tue Dec 13, 2005 2:44 pm
by moiseszaragoza
When you get it I would love to get a copy of it