Sample Code: Sudoku in VB .NET

Sudoku is a logic-based location puzzle game normally played using numbers.

This is simply an introduction to some of the facets of VB .NET using the mathematics behind Sudoku.



About the Author

Michael Champion

Degrees in Computer Science from the State University of New York at Buffalo (UB) and the Rochester Institute of Technology (RIT). Still serving time as a Software Engineer.

Downloads

Comments

  • Items and performance throughout Miami -- swimwear has left without kind regards

    Posted by Abughibungunc on 05/06/2013 06:24pm

    Different questions on golf clarified and in addition why you would need to check out every single word within this report. [url=http://www.golfjapan.co/]タイトリスト[/url] What industry professionals won't be actually saying concerning golf and precisely how this has impact on you. [url=http://www.golfjapan.co/アイアン-c-2.html]ゴルフ スイング[/url] Brand-new essay discloses the low down over golf in addition , reasons why you have got to take action this afternoon. [url=http://www.golfjapan.co/レディース-c-11.html]ゴルフ グリップ[/url] Hard to find guide offers the basic truth for golf that experts claim only a couple of consumers know. [url=http://www.golfjapan.co/ブランドから選択-c-364.html]プーマ ゴルフ[/url] Accessories and processing in South america - - golf has left without any bon voyage [url=http://adidaskutujp.biz/]adidas[/url]UhgNudLtcYzt [url=http://www.adidaskutujp.biz/jeremy-scott-ジェレミースコット-c-4.html]adidas jeremy scott[/url]NwtCqsEgyVso [url=http://www.adidaskutujp.biz/adidas-original-c-9.html]アディダス ランニング[/url]VcjExkEegPof MdrTpqNmvQtm XhqBdkPpcFnk UsmLumLjjFti [url=http://nikekutujp.biz/]ナイキゴルフ[/url]WblBlqUocUmz [url=http://www.nikekutujp.biz/nike-air-force1エアフォース1-c-14.html]nike air force[/url]YavZulLbhWwc [url=http://www.nikekutujp.biz/nike-air-maxエアマックス-c-12.html]nike air max[/url]VoeAsnOcdQmf [url=http://www.nikekutujp.biz//nike-air-jordanエア-ジョーダン-c-13.html]nike air jordan[/url]UnnTvqAcqIec [url=http://adidasyasuijp.com/]アディダス adidas[/url]RssItkCemBcn [url=http://www.adidasyasuijp.com/jeremy-scottジェレミースコット-c-4.html]アディダス シューズ[/url]VcuRqjTvvXyn [url=http://www.adidasyasuijp.com/adidasランニング-c-7.html]adidasランニング[/url]TncLdvTjxAib

    Reply
  • Brief article exposes the unignorable details about gucci and precisely how it could may affect your company.

    Posted by emeseesip on 05/06/2013 04:16pm

    Most Likely The Most Detailed adidas Report You Ever Witnessed Otherwise Your Cash Back [url=http://www.guccija.biz/]gucci 財布[/url] Whoa, amazing service. Your corporation have to find out more about adidas right away when it is still available for sale . . . [url=http://www.guccija.biz/]グッチ キーケース[/url] nike can help everybody by including plenty of unique functions and characteristics. Its a unvaluable item for any fan of nike. [url=http://www.guccija.biz/]グッチ ショルダーバッグ[/url] Independent write-up unveils 5 completely new things concerning gucci that absolutely no one is speaking about. [url=http://www.chanelja.biz/]シャネル マトラッセ[/url] Reasons why not a soul is discussing about nike and as an outcome the thing that you ought to accomplish right now. [url=http://www.chanelja.biz/]シャネル 長財布[/url] Creative questions on adidas have been answered in addition to why you need to read through every single statement within this document. [url=http://www.chanelja.biz/]chanel 財布[/url] An overview of the nike that you're able to cash in on commencing today.[url=http://www.nikeja.biz/]ナイキ[/url] Insights on how to understand everything there is to understand regarding nike in Six easy ways.

    Reply
  • Sudoku solution

    Posted by sweety234 on 09/05/2007 05:42am

    Can any one send SUDOKU solution program to me ....?

    • RE: Can any one send SUDOKU solution ...

      Posted by msc0686@yahoo.com on 09/05/2007 12:11pm

      Yes. Actually a better picture-version of this game application is available via www.AisleOfPlenty.com.

      Reply
    Reply
  • Great Example

    Posted by VPOwner on 12/28/2006 07:55pm

    My wife loves this game, so I compiled it for her :). There is one aspect of the program which is not present however, it will show the correct solution, but I would like to make a new button which will compare the user's solution to the correct one, and then highlight each incorrect answer. Being new to VB I am not exactly sure how to do this, can you suggest some examples that I could look into to do this? I like doing things like this to help myself learn, I learn much more when I do things hands on and make them work. Thanks!

    • Thanks

      Posted by msc0686@yahoo.com on 12/29/2006 08:09am

      Nothing like being a nerd to impress the chicks, hey (:-))?  Just kidding, I'm a nerd and my wife loves me for it for some odd reason.
      
      One way to accomplish a "differences" button would be to simply integrate it with the existing btnShowSolution button.  You can always try to add another button and fill-in it's code-behind, but the code change for the existing one is rather simple (add lines between "*********" comments)...
      
          Private Sub btnShowSolution_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowSolution.Click
              Dim i As Integer
              If SolutionShown Then
                  For i = 1 To 81
                      CurButtons(i).Text = SudokuTemp(i)
                      '*********
                      CurButtons(i).ForeColor = System.Drawing.Color.Black
                      '*********
                  Next i
                  btnShowSolution.Text = "Show Solution"
              Else
                  For i = 1 To 81
                      SudokuTemp(i) = CurButtons(i).Text
                      CurButtons(i).Text = SudokuSolution(i)
                      '*********
                      If CurButtons(i).Text <> SudokuTemp(i) Then
                          CurButtons(i).ForeColor = System.Drawing.Color.Red
                      Else
                          CurButtons(i).ForeColor = System.Drawing.Color.Green
                      End If
                      '*********
                  Next i
                  btnShowSolution.Text = "Hide Solution"
              End If
              SolutionShown = Not SolutionShown
          End Sub
      
      Hope this helps.  Happy New Year!

      • what??

        Posted by paul on 08/02/2014 01:27am

        What is this "CurButtons"? i don't understand what was the meaning of that because i usually use only cmd for command buttons, lbl for label and so many more so that i can determined what particular name i used it....can you determine what "CurButtons" used for?

        Reply
      Reply
    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • On-demand Event Event Date: October 23, 2014 Despite the current "virtualize everything" mentality, there are advantages to utilizing physical hardware for certain tasks. This is especially true for backups. In many cases, it is clearly in an organization's best interest to make use of physical, purpose-built backup appliances rather than relying on virtual backup software (VBA - Virtual Backup Appliances). Join us for this webcast to learn why physical appliances are preferable to virtual backup appliances, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds