Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i want to design sudukopuzzle in java .what i need to do?

 
Anitha Kuchana
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to design sudukopuzzle in java .first what i need to do?
 
Tim Moores
Bartender
Posts: 2686
36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12086
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mich Robinson
Ranch Hand
Posts: 260
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

PS the game is spelt sudoku ;)
 
Abu Nawas Salah
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic