Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I need a algorithim for SUDOKU, I am assigned to create a Sudoku game in C.

Can anyone explain the prequisites?

I mean the declaration of datatypes and all the things neeeded?

Thank you in advance,
Posted
Updated 3-Oct-12 8:50am
v3

You should do it on your own, because that is what homeworks are for. Have you even tried to find anything with google for example - I doubt.
First of all, about the game itself: http://en.wikipedia.org/wiki/Sudoku[^]
Secondly there are also complete solutions out there, like this one: http://www.pauls-pc-repair.com/sudoku/index.php?page=showSrc&src=solver/source/sudoku.c[^]
But be aware: this solution might not be implemented according to the requirements you got. Since it ha it's "signature", any teacher could find it also, and than you are cut. So, my advice is to consult it, even compile it, but first of all work on it to understand the code, and than make your own implementation.
 
Share this answer
 
It doesn't work like that.

You try to do it, you get stuck, you ask a question about your specific problem.
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900