i want to design sudukopuzzle in java .what i need to do?
Anitha Kuchana
Greenhorn
Joined: Dec 22, 2011
Posts: 21
posted
0
i want to design sudukopuzzle in java .first what i need to do?
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
A quick search through these forums finds numerous threads where this has been discussed in the past; I'm sure you'll get plenty of ideas from reading those previous discussions.
First, you need to decide what you want to do. Do you want to CREATE puzzles, do you want to provide a platform for a person to PLAY puzzles, or do you want something that will SOLVE puzzles?
Granted, all three could be combined into a single app, but if you are just beginning, I'd start with one and go from there.
The most important part is that you spend a significant amount of time thinking through your design before you ever even write your first line of code.
Never ascribe to malice that which can be adequately explained by stupidity.
Mich Robinson
Ranch Hand
Joined: Jun 28, 2009
Posts: 185
posted
0
Anitha Kuchana wrote:i want to design sudukopuzzle in java .first what i need to do?
I don't think it matters what language you use - I wrote a Sudoku game in PHP which gives you puzzles, solves them etc. Maybe you can get some ideas off that.
There are some examples of sudoku solvers on the net.
Maybe we should get this straight first: you are trying to create something that generates a random sudoku puzzle and then solves it?
create the puzzle in a text file, easy and simple for when you are starting out. Put each new row on a new line and each number separated by a space or something that is the way I used to do sudoku-related Java stuff because that way it is easy for anyone to read and understand. Or if you don't need to produce a tangible result that you can look at forever just have it do it in memory and print the results out then you don't even need to handle files.