Results 1 to 3 of 3

Thread: Sudoku Collaboration Project: Source code

Threaded View

  1. #1

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Sudoku Collaboration Project: Source code

    To make it clear from the beginning...
    This thread is only for source code. No discussion.
    This makes things easier for everyone.
    1. Post your source code here.
    2. Only use one post for your source code.
    3. You may describe your code and it's features etc. in your post.
    4. If you have anything to comment, do it at the collaboration discussion thread.


    The latest version of the core collaboration project is included here. If you do changes to the project and you wish to see them in the "official" version, you may attach it in your post here or send it via private message to me.

    Remember that you are free to improve any part of the project. There are three main parts where you can put your interest into:
    • The core project: interface, file loading/saving, manual solving, etc.
    • Solver modules.
    • Generator modules.


    It is up to you how you do your solver or generator module or how you construct your functions.

    Including a solver module
    You must provide a wrapper code that is used to make your code work with the core project. This is a function that is to be added into clsCodeWrapper. Add this into your post when you post your source code (prefer using the code tag over highlight tag).

    Also check Form_Load on how to make the core project to know about your function.

    Including a generator module
    Currently there is no way to add a generator module into the project. This is because I believe there is a need for giving input parameters for generators, thus there is a need for more definition on how they should work. My initial thoughts are that they would be class modules that have certain features to make it possible for the core to know what the generator class supports.


    If anything is unclear or you have suggestions, pm me or post in to the collaboration discussion thread.


    Update revision: 1
    • Fixed SudokuStringToByteArray and SudokuByteArrayToString.
    • Included my own brute force solver as a sample.
    • Included a solution counter.
    Attached Files Attached Files
    Last edited by Merri; Jun 23rd, 2007 at 08:43 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width