Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Inventory Manager For Dynamics CRM 4.0
Dockit Migrator for SharePoint 11.8.6905
Australia Post Shipping For Magento 2 1.0.0
StarTrack Shipping For Magento 2 2.0.0
Mydala script 1.3
dotConnect for FreshBooks 1.8
Odoo Kingfisher Theme 1.0
Bitcoin Mining Software - Bitcoin Mining Script 1.0.2
Excel Add-in for Magento 1.7
Excel Add-in for MailChimp 1.7
Devart Excel Add-in for QuickBooks 1.7
Excel Add-in for PostgreSQL 1.7
Devart Excel Add-in for MySQL 1.7
Devart Excel Add-in for NetSuite 1.7
Excel Add-in for Salesforce 1.7
Top Code
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
Excel Add-in for PostgreSQL 1.1
Excel Add-in for Salesforce 1.1
Excel Add-in for MailChimp 1.1
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
SecureBridge 8.0
ADO.NET Provider for ExactTarget 1.0
Deals and Discounts Website Script 1.0.2
dotConnect for SQLite 5.9
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Sudoku: ASP.NET/MATLAB 1.1
File ID: 85743






Sudoku: ASP.NET/MATLAB 1.1
Download Sudoku: ASP.NET/MATLAB 1.1http://www.mathworks.com/Report Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 33
Submit Rating:
Sudoku: ASP.NET/MATLAB 1.1 Description
Description: SOLVE_SUDOKU.M -- This file contains the code for solving the Sudoku board, and should be deployed as a .NET assembly. It accepts as input a 9-by-9 array, where 0 represents a blank square, and the digits 1-9 represent any initial values in the grid. The function returns the solved board, if a solution exists, and a flag indicating whether the code was successful at finding a solution. To solve the puzzle, the code uses an algorithm that makes recursive calls to the solver function after choosing one of the possible candidates for a square. If a square does not have any possible candidates, the algorithm backs up to a previous square, and tries another possible candidate there before proceeding.

SUDOKU.ASPX -- The front-end web page is an ASP.NET file that creates a 9-by-9 grid of text boxes, allowing users to enter the values for a Sudoku puzzle. After a user clicks the submit button, this code posts the data in the grid to solver.aspx.

SOLVER.ASPX -- This ASP.NET code accepts the input data from sudoku.aspx, packages it in a .NET array, and calls a method of the Sudoku object to solve the puzzle. After receiving the output in the form of a two-dimensional array, the ASP.NET code formats the array to display the solution on the screen.

For more information on solving Sudoku puzzles, check out the following reference:
Delahaye, Jean-Paul. "The Science Behind Sudoku." Scientific American June 2006: 81-83.

Note: Certain boards take longer to solve than others. It may be helpful to set the timeout for the ASP.NET page appropriately for boards that take an excessive amount of time to complete.

License: Freeware

Related: Square, Sudoku, Array, aspnet, Puzzle, solve, Solution, Function, values, Algorithm, Boards, candidates, solving, calls, Board, Input, accepts, Display, matlab

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 33



More Similar Code

This site is provided for listing all the ASP.NET related resources. Our mission is to provide all the latest resources to help, share and promote ASP.NET Technology. We cover All ASP.NET related Scripts, Controls, Components, Hosting , Tutorials and etc.



Lanapsoft BotDetect - ASP.NET CAPTCHA is a website security component designed to protect your registration, comment, poll, guestbook, content submission, and other online forms from automated spam submissions. It generates CAPTCHA images with...



The ASP.NET Barcode Server Control is a new drag-and-drop component that easily adds dynamic barcoding capability to Microsoft .NET Web Applications. It is a server-side component that creates JPEG images, therefore all processing takes place on...



FlyTreeView for ASP.NET 2.0 (9Rays.Net TreeView for ASP.NET 2.0) is an advanced AJAX-based ASP.NET 2.0 treeview control. FlyTreeView for ASP.NET 2.0 features ASP.NET AJAX compatibility, cross-browser support, on-the-fly nodes population, unlimited...



Cute Editor for ASP.NET is the most powerful WYSIWYG (What You See Is What You Get) browser-based Online HTML Editor for ASP.NET.

It enables ASP.NET Web developers to replace the Textarea in your existing content management system with...



How often your web-site visitors want to get some information which just lies in a database and can be taken from there by one simple SQL statement?
Tired to add new pages on your web-site?
EasyQuery.NET WebForms edition let your users...



WebInput.NET is a powerful ASP.NET component that has formatting, masking and validating capability similar to what you have in Microsoft Access®.
Developers can now provide excellent and rich input in their web application for entering...



ASP.net Web Server Control for adding visual color selection to your web site or web application in just a few lines of code or a simple drag & drop with VisualStudio.net. allows you to have users easily select a color from a beautiful graphic...



Asp.net web server component for adding visual zoom & popup effects to your projects. Add images, text or HTML text Popups to your products, icons, pictures,... Simply by dragging the control from the visual studio toolbar to your web form....



(New Version 6.0!) Cute Editor for ASP.NET is by far the fastest, easiest, most powerful WYSIWYG (What You See Is What You Get)browser-based HTML Editor for ASP.NET. It enables ASP.NET Web developers to replace your standard Textarea to a rich...

User Review for Sudoku: ASP.NET/MATLAB
- required fields
     

Please enter text on the image