Click here to Skip to main content
12,290,502 members (30,583 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C
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 3-Oct-12 8:27am
Edited 3-Oct-12 8:50am
Joan Murt88.6K
v3
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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!
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160518.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100