![]() |
Re: Sudoku Solving Program Using 'C'
The GUI in this program is Text-mode based. It is Non-BGI. So, it isn't that very appealing to the eyes, yet reasonably user-friendly & elaborate to use. Download the code & read the documentation to understand the logic of the Text-based GUI of this program.
Ciao, Rajiv PS : BGI can be used to develop an actual Graphics interface that is detailed & developed, for this program. :) "Don't take life too seriously; No one gets out alive." |
Re: Sudoku Solving Program Using 'C'
I have also been writing a Sudoku solving program but I have been using C# .NET.
When I clean up the objects that do the solve (it will solve a complete puzzle of mediumn complexity. I need to add other algorhythyms to solve for the harder level puzzles). I will post them on this thread for review/comments. However in the mean time I need some help with my GUI object for this whole project. I am pretty new to .NET programming and was hoping someone could tell me why this is not working right. Any help you guys could give me would be greatly appreciated!!! Source Notes: I am creating 9 panels which divide the main 9x9 grid into 9 smaller 3x3 grids (just like the Sudoku Puzzle). I am hoping by creating the GUI this way, it will be easier to implement the object connections to the actual cell data that will connected to each grid button. I am also interested in making the buttons size dynamically depending on how big the form is. If anyone can point me in the right direction to do that I will try to implement that feature as well. OUTPUT (Note only 1 panel paints the buttons, they all paint the same way and I can't for the life of me figure out why the other 8 panels are missing the buttons!!): http://www.iwebnow.com/SudokuFormScreen.GIF SOURCE: Code:
using System; |
Re: Sudoku Solving Program Using 'C'
Nevermind... It was an error in the positioning and not a painting error. I didn't reset it to 0,0 for each panel other than the first one.
Thanks for looking if you were trying to figure it out... |
Re: Sudoku Solving Program Using 'C'
Good work man
|
Re: Sudoku Solving Program Using 'C'
hi rai
even i have worked on a sudoku generator but my basic problem is the time that the problem takes to generate a sudoku. the logic behind the problem is pretty simple and it is not recurssive in nature . its like fitting in a solution rather than generatin it. i will like to take a look at ur basic strategy behind the problem... plz u can mail me at anshulgolu123@gmail.com |
Re: Sudoku Solving Program Using 'C'
by the way excellent work man.....
|
Re: Sudoku Solving Program Using 'C'
thanks
|
Re: Sudoku Solving Program Using 'C'
good work gandalf
|
Re: Sudoku Solving Program Using 'C'
mr.gandalf irequest u to write a program in c that allows the user to play tic tac toe with computer
|
Re: Sudoku Solving Program Using 'C'
Quote:
Tic-Tac-Toe Game in C TicTacToe in Plain C without using BGI graphics Also dont jump into some article with your query. Instead try giving your query a new thread with good title to get good responses. |
| All times are GMT +5.5. The time now is 11:44. |