|
Main Menu
User's Login
|
My Sudoku Application (basic rules)
Friday, January 20, 2006 - 12:49 PM
The Sudoku puzzle is made up of a 9X9 grid. Each grid cell can be blank or contains one of the numbers 1-9. This object of the puzzle is to fill in the blank cells with numbers following the rules below: Every row and column must contain the numbers 1 through 9 (no duplicates). For example: +---+---+---+---+---+---+---+---+---+ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +---+---+---+---+---+---+---+---+---+ | 9 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 8 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 7 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 6 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 5 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 4 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 3 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 2 | | | | | | | | | +---+---+---+---+---+---+---+---+---+ Each of the 9 3x3 boxes must also contain the numbers 1 through 9 (no duplicates). For example: +---+---+---+---+---+---+---+---+---+ | 1 | 2 | 3 | | | | | | | +---+---+---+---+---+---+---+---+---+ | 6 | 5 | 4 | | | | | | | +---+---+---+---+---+---+---+---+---+ | 7 | 8 | 9 | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ Example starting grid: +---+---+---+---+---+---+---+---+---+ | | | 3 | 5 | | 4 | 9 | | | +---+---+---+---+---+---+---+---+---+ | 9 | | 7 | | | | 3 | | 5 | +---+---+---+---+---+---+---+---+---+ | | | | | 7 | | | | | +---+---+---+---+---+---+---+---+---+ | 3 | 6 | 5 | | | | 7 | 1 | 8 | +---+---+---+---+---+---+---+---+---+ | | | | | | | | | | +---+---+---+---+---+---+---+---+---+ | 8 | 9 | 4 | | | | 6 | 5 | 2 | +---+---+---+---+---+---+---+---+---+ | | | | | 5 | | | | | +---+---+---+---+---+---+---+---+---+ | 4 | | 9 | | | | 1 | | 7 | +---+---+---+---+---+---+---+---+---+ | | | 8 | 4 | | 2 | 5 | | | +---+---+---+---+---+---+---+---+---+Enjoy, Curt
|