Sudoku Generator in VB6
-
Hello everyone. I am trying to create a simple sudoku generator. I have decided to use textfields. so far i have made the generation code but what i get stuck on is how to get spaces (blanks) and how to get the solution matrix so that the numbers cant be the same in horizontal and vertical rows and the 3x3 boxes. i am using really simple code because i am still leaning the program but i am making this as a school project i would be really glad if i got some help in this ~Solid Snake~
-
Hello everyone. I am trying to create a simple sudoku generator. I have decided to use textfields. so far i have made the generation code but what i get stuck on is how to get spaces (blanks) and how to get the solution matrix so that the numbers cant be the same in horizontal and vertical rows and the 3x3 boxes. i am using really simple code because i am still leaning the program but i am making this as a school project i would be really glad if i got some help in this ~Solid Snake~
Use arrays to manipulate matrix.
-
Use arrays to manipulate matrix.
please mail a more detailed explenation of how to set up arrays and other useful tips
-
please mail a more detailed explenation of how to set up arrays and other useful tips
google is a good choice here. In fact, if you need to know how to create an array, you really should be buying a book. Christian Graus - Microsoft MVP - C++
-
Hello everyone. I am trying to create a simple sudoku generator. I have decided to use textfields. so far i have made the generation code but what i get stuck on is how to get spaces (blanks) and how to get the solution matrix so that the numbers cant be the same in horizontal and vertical rows and the 3x3 boxes. i am using really simple code because i am still leaning the program but i am making this as a school project i would be really glad if i got some help in this ~Solid Snake~
Creating a Sudoku generator is OK, and it is a great thing, but do not try to solve them by using computers, use your brain. Chatura from Pearl of the Indian Ocean.
-
Creating a Sudoku generator is OK, and it is a great thing, but do not try to solve them by using computers, use your brain. Chatura from Pearl of the Indian Ocean.
i dislike solving programs and i solve sudokus by hand frequently.
-
google is a good choice here. In fact, if you need to know how to create an array, you really should be buying a book. Christian Graus - Microsoft MVP - C++
well i actually have a beginners book that wont give me that kind of info :(
-
i dislike solving programs and i solve sudokus by hand frequently.
:) Chatura from Pearl of the Indian Ocean.
-
Creating a Sudoku generator is OK, and it is a great thing, but do not try to solve them by using computers, use your brain. Chatura from Pearl of the Indian Ocean.
I actually find the challenge of designing algorithms to solve such puzzles is much greater than doing it by hand, especially if you apply AI concepts and use tools such as Prolog.
...Steve
1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-) -
well i actually have a beginners book that wont give me that kind of info :(
*grin* then you need a better book. msdn.microsoft.com is also full of info. Christian Graus - Microsoft MVP - C++