Sudoku in vb.net..*Progression thread*

Permabanned
Joined
28 Feb 2006
Posts
1,604
Well, a friend of mine got me to learn vb.net, well he has given me the task of creating a Sudoku game for him...Bit cheeky if you ask me :p

But hes a good man, I will post my progress in this thread etc... I have NEVER done anything in vb.net before, utter noob ;)

Should be fun, he says i should have it done in 2 weeks... :o


Any tips before i start? - Well before I start to find out how this game works! - Never played before lol :D
 
Yeah plan it out on paper before you start to implement it. There are a lot of ways to do this, but its easier if you have a nice plan before you dive in and start coding the thing.
 
There are a few algorithms online you may want to check out, save you a whole heap of time writing your own.
 
I started something like this a while back but never finished it.
I think I have about 10 half done projects on the go at the moment :o

How are you planning on drawing the board? Using windows controls or drawing it using GDI+?

Also, are you planning on getting solutions by using a brute force method or using an algorithm?
 
My tip is to write the thing as though it were going to be an ascii game with input being something like a grid reference followed by a value so to put a 9 in a box 3 along and 4 down you'd type c49.

The reason is with such a simple input and display method, it will force you to not muck about with the display and events system until the core of the game is working.

Attaching a beautiful graphical front-end afterwards will be so much easier and you'll learn good habits upfront.
 
Thanks for all the tips so far, erm well I dont know how im going to do it, utter noob to this. Just downloaded it from Microsofts website that is how much of a noob I am.

"There are a few algorithms online you may want to check out, save you a whole heap of time writing your own."

What did you mean? The solution yes? :)
 
The hardest part of programming is doing the algorithms/theory in my opinion. Learning syntax is very easy. If you are new to programming you might want to create something easier first for example tic-tac-toe game (A lot of things you learn in this can then be applied to Sudoku). Sudoku won't be that hard if you the algo's from a site like volc linked though. Writting them out in pseudo code before you start to implement will help.
 
Last edited:
Im a noob in programming in general, done a bit of html last year but thats it. Will take a look at that site above!^^ thanks
By the way that above is for a suduko solver right, i am making a game, is that just describing the concept behind it all?
 
Last edited:
HTML is not a programming language.. its a mark up language by the way :)
 
sjohal2006 said:
By the way that above is for a suduko solver right, i am making a game, is that just describing the concept behind it all?
It explains the algorithm used by the program to solve the puzzle; that is, the steps involved in determining the value of each cell.

As I was saying earlier, though, I can't recommend enough that you buy a book; they really are a huge help when it comes to learning a language, especially a .NET language, as it will teach you all about OOP principles, features of the .NET framework etc. in much greater depth than a tutorial can. At the end of the day, there's only so much you can learn from a tutorial.
 
Back
Top Bottom