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
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
WinPoker 2.02
Farnsworth 1.0
School Management Script 1.0.4
WebKit2.NET 0.10
Simple IP Calculator sub/sup networking 0.0.4
Beremiz 1.0
ASLA 0.14
Ad Juggler 3.0
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
Planyo online reservation system module 6.x-1.8
sipmethod 1.0
STDF file reader 1.0
.NET Obfuscator Standard Edition 6.2.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
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
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.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: 32
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: 32



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