Preview

Sudoku game

Satisfactory Essays
Open Document
Open Document
281 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Sudoku game
Koya University
Software Engineering Department
4th Stage
Artificial Intelligence

Sudoku Game

Prepared by Kewan S. Salih

Introduction
Sudoku (Digit-single) originally called Number Place, is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the grid (also called "boxes", "blocks", "regions", or "sub-squares") contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which typically has a unique solution. [Wikipedia]

Figure Example & Solution
A typical Sudoku puzzle grid, with nine rows and nine columns that intersect at square spaces.
Some of the spaces are pre-filled with one number each; others are blank spaces for a solver to fill with a number.
The original Sudoku solves the following three conditions:
1. The value of each column is unique
2. The value of each row is unique
3. The amount per square N * N is a unique internal[-http://www.cs.huji.ac.il]

Percepts
The Sudoku Game percepts are:
1-The field of Sudoku environment matrix is blank
2-The field of Sudoku environment matrix is not blank
3-The value of each filled row is unique
4-The value of each filled row is not unique
5-The value of each filled column is unique
6-The value of each filled column is not unique
7-The summation per each square is unique
8- The summation per each square is not unique
9- The candidate value includes in this range v>=1 and v=1 and v=1 and v9 || a1==a(1,1)) a(1,2)=0; else a(1,2)=a1; end if( a2>9 || (a2==a(1,2) || a2==a(2,1)) ||a2==a(1,1)) a(2,2)=0; else a(2,2)=a2; end a

References:
1-Wekipedia
2-http://www.cs.huji.ac.il



References: 1-Wekipedia 2-http://www.cs.huji.ac.il

You May Also Find These Documents Helpful

  • Satisfactory Essays

    ii) Why did you select it? This is the number closest to 1 or negative 1…

    • 258 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    The ASCII hex code for a blank space is 20. Blank spaces are necessary to represent in text so…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Lab 9

    • 590 Words
    • 3 Pages

    6. Select the LETTER of the condition from column B that most correctly identifies the term in column A.…

    • 590 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    A table of ten “coordinates pairs” was created by matching a number randomly generated between one and fifty (the X value) with a number randomly generated between one and ten (the Y value).…

    • 207 Words
    • 1 Page
    Good Essays
  • Good Essays

    the puzzle game

    • 500 Words
    • 2 Pages

    The puzzle game is a short story written by Patricia D. Maida and Nicholas B Spornick. This short story explains the reasoning behind almost all detective stories. The puzzle game demonstrates how all detective stories follow a “puzzle tradition” that produce the reader with intrigue and intellectual stimulation. The puzzle games found in detective stories operate on multiple levels with varying complexities derived by an ingenious author. These games follow many variations and rules, but will never allow you to fully comprehend who the victim, the murder, and sometimes even who the sleuth is in the story. Two fascinating detective stories that follow the format of the puzzle game are “Silver Blaze” by Conan Doyle, and “The mysterious Affair” bye Christies.…

    • 500 Words
    • 2 Pages
    Good Essays
  • Good Essays

    metcs520 W4 Assignment

    • 637 Words
    • 8 Pages

    of the first red block in the bottom row. The next two values are the…

    • 637 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    Economics Ch 5 & 8

    • 779 Words
    • 7 Pages

    A perfectly competitive firm is a: Correct Answer : price taker The Choices Were: • loss leader • price leader • price taker • price maker ________________________________________ Correct Answer A firm that has monopoly power is a: Your Answer : price maker Correct Answer : price maker The Choices Were: • loss leader • price leader • price taker • price maker ________________________________________ Correct Answer For a perfectly competitive firm, price is always identical to Your Answer : marginal revenue Correct Answer : marginal revenue The Choices Were: • marginal cost • marginal revenue • total revenue • average total cost ________________________________________…

    • 779 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Algebra Regents

    • 1058 Words
    • 5 Pages

    10. Which ordered pair is not in the solution set of y > 2x + 1 ?…

    • 1058 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Pow #2

    • 1106 Words
    • 5 Pages

    There’s a standard 8 x 8 checkerboard made up by 64 small squares. Each square is able to combine with others squares to make other squares of different sizes. Our job is to find out how many squares there’s in total. Once you get all the number of squares get all the number of squares and feel confident with your answer you next explain how to find the number of squares on any size checkerboard. You will know you have the answer when no matter how what size board you have you can give a clear description of to easily compute the total number of squares. So basically what you’re doing is finding the total number of squares in a 8 x 8 checkerboard and pretty much finding an equation on how to find the total number of squares on any size board.…

    • 1106 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Ap Psychology Quiz

    • 564 Words
    • 3 Pages

    |1. |If a variable has possible values –2, 6, and 17, then this variable is |…

    • 564 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    essay

    • 892 Words
    • 6 Pages

    ** There is no correlation between the number of spaces provided and the number of codes!!…

    • 892 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CA1-1: Presented below are four statements, which you are to identify as true or false. If false, explain why the statement is false.…

    • 402 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Checkerboard SquaresProblem Statement: Suppose you have a square checkerboard of some size other than an 8 by 8. How can you determine how many squares are on it altogether. You will know you are done when no matter what size checkerboard you are given, you can give a clear procedure for easily computing the total number of squares.Process: To solve this problem, you would first have to make or find a square (example=6by6). Then you would have to find how many total squares are found in this big square. To do this we need to find an equation, we can do this by using math and the knowledge of knowing the square is 6 by 6. To do this you could multiply 6 by 6 and you get the answer. There are multiple answers/solutions…

    • 234 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Sudoku

    • 711 Words
    • 3 Pages

    Negative issues are usually associated with addiction. Drug abuse, excessive drinking, and even too much gambling are all negative activities that are highly addictive. But if there is one kind of addiction that is actually beneficial for adults and kids alike, it would be an addiction to sudoku puzzles. Researchers rank solving sudoku puzzles daily among the top ten non-traditional and alternative ways to boosts brain power. Other brain boosting moves include high-protein diets, listening to classical music, and lots of rest. These are simple but are rather difficult to follow because of budget limitations, personal preferences, and lifestyle. This is the advantage sudoku games holds over other brain boosters. They are accessible from newspapers, books, and even the Internet. They are also workable between breaks or at any spare time. So every time someone chastises you for doing sudoku again, kindly explain and hope that they pick up the habit too.…

    • 711 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Sudoku

    • 632 Words
    • 2 Pages

    The first known calculation of the number of classic 9×9 Sudoku solution grids was posted on the USENET newsgroup rec.puzzles in September 2003[10] and is 6,670,903,752,021,072,936,960 (sequence A107739 in OEIS). This is roughly 1.2×10−6 times the number of 9×9 Latin squares. A detailed calculation of this figure was provided by Bertram Felgenhauer and Frazer Jarvis in 2005.[11] Various other grid sizes have also been enumerated—see the main article for details. The number of essentially different solutions, when symmetries such as rotation, reflection, permutation and relabelling are taken into account, was shown by Ed Russell and Frazer Jarvis to be just 5,472,730,538[12] (sequence A109741 in OEIS).…

    • 632 Words
    • 2 Pages
    Good Essays