|Info||Screenshots||View files (23)||Download .zip||Reputation||Support forum (6)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2009-02-11 (5 years ago)||50%||Total: 4,300 This week: 2||All time: 614 This week: 845|
|sudoku 1.0||GNU General Public Lice...||PHP 5, Games, Artificial intelligence|
Sudoku is a number puzzle where you are presented with a grid of size 9 by 9, that is subdivided in 9 blocks of 3 by 3. Some fields in the grid contain a digit from 1 to 9. The objective is to fill in the rest of the fields such that each row, column and block will contain all digits exactly once. A good Sudoku has a single solution.
This class attempts to use the same strategies that a human player would use to solve a Sudoku puzzle. It can solve many Sudoku puzzles but not all, because it only uses logic and refrains from brute-force solving.
You can interactively influence the solution process to try out rules of your own. You can easily enter a Sudoku puzzle and save it to try it again later. PHP 5 is required.
|sudoku4 (6 files)|
|DLX.class.php||Class||new solution rule|
|puzzle1.txt||Example||puzzle requiring x-wing|
|puzzle2.txt||Example||puzzle requiring x-wing|
|puzzle3.txt||Example||puzzle requiring x-wing|
|sudoku-help.html||Doc.||Help and Documentation|
|Sudoku.class.php||Class||User interface class|
Prize: One subscription to the PHP Magazine
|There are games that were meant to be played only by human players. Multi-player games need more than one human player to be available. Sometimes it is not possible to have more human player available. In that case, it would be interesting if the human player could play with a computer based player.
The challenge of implementing games that need to have computer based players is that they usually need to emulate human intelligence to make human-computer games almost as interesting as human-human games.
This class implements an educative example of the use of artificially intelligence to demonstrate how a computer can emulate human intelligence to accomplish similar tasks.
This example can be useful for those that are interested in learning how to apply artificial intelligence techniques to solve problems on which it is interesting that a computer plays the role of human being, in games or in other more serious types of applications.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||2||This week:||845|