Sudoku
Moderator: General Moderators
- kanenas.net
- Forum Newbie
- Posts: 12
- Joined: Sun Jun 26, 2005 12:29 pm
- Location: Athens - Greece
- Contact:
Sudoku
Has anyone tried to make a php-script for the sudoku game ???

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
But yeah, it's been done
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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...
I beat all of the grids in the first pack, and I'm waiting for the admin to install more...
- kanenas.net
- Forum Newbie
- Posts: 12
- Joined: Sun Jun 26, 2005 12:29 pm
- Location: Athens - Greece
- Contact:
Looks good !!! I wil try it as soon as possible...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...
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.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- kanenas.net
- Forum Newbie
- Posts: 12
- Joined: Sun Jun 26, 2005 12:29 pm
- Location: Athens - Greece
- Contact:
Jcart, the only thing you have to do is...Jcart wrote:Call me stupid, but I couldn't figure out how to play. Any takers care to explain?
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...
- moiseszaragoza
- Forum Commoner
- Posts: 87
- Joined: Sun Oct 03, 2004 4:04 pm
- Location: Ft lauderdale
- Contact: