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
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Betting system 6.x-1.x-dev
Java-2-Pseudo 1.0
Faculty Evaluation System 1.1
MLM Forced Matrix Plan Software 1.0.2
Online Car Rental Management Software Solution Alpha
Library Management System 1.0
Aspose.Words for Java 13.3.0.0
Russian Roulette
soccerbet 1.0
Cuckoo Search (CS) Algorithm 1.0
Student Information Management System 1.0
Java/RTR 1.0
JEDI Database Desktop 27012002
PHP Point of sale 10.0
Top Rated
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
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
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
N-Puzzle (dynamic size and solver) 1.0
File ID: 85782






N-Puzzle (dynamic size and solver) 1.0
Download N-Puzzle (dynamic size and solver) 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 225
Submit Rating:
N-Puzzle (dynamic size and solver) 1.0 Description
Description: The Game:
The N-puzzle is known in various versions, including the 8 puzzle, the
15 puzzle, and with various names. It is a sliding puzzle that consists of a grid of numbered squares with one square missing, and the labels on the squares jumbled up. If the grid is 3?the puzzle is called the 8-puzzle or 9-puzzle. If the grid is 4?the puzzle is called the 15-puzzle or 16-puzzle. The goal of the puzzle is to un-jumble the squares by only making moves which slide squares into the empty space, in turn revealing another empty space in the position of the moved piece. (From Wikipedia)

Game Board:
The N-Puzzle interface lets the user choose between several predefined sizes of boards, and also to choose any custom (valid) size N. A valid
size of N is such that round(sqrt(N+1))^2-1 equals to N.
All generated games are solvable. A game is generated by performing 1000 random moves of the empty space starting from the solution.
User can also import any puzzle into the interface. Puzzle must be defined as an array or as a matrix with numbers spanning from 1 where
the largest number is the empty space.

Game Controls:
The N-puzzle game can be played using either mouse or keyboard (or both). Move around marker using arrow keys and make a switch using space. With mouse you move around marker using left-click and make a switch using any other type of click (double-click, right-click, shift-click, etc.)

Extra Game Features:
The N-Puzzle game has Undo and Redo functionality that can be reached from the menu or by the shortcuts Ctrl-Z (Undo) and Ctrl-R (Redo).
A simulation of the game so far can also be viewed using the control in the menu.
The game now also has a built-in solver.

License: Shareware

Related: wherethe, largest, spanning, numbers, Matrix, Number, controlsthe, Mouse, played, Array, Defined, solvable, Games, Generated, equals, performing, Random, Puzzle

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

File Size: 10.0 KB

Downloads: 225



More Similar Code

Companion Software for the Dynamic Modeling and Control of Engineering Systems, 2e book by J. Lowen Shearer, Bohdan T. Kulakowski & John F. Gardner



Find-n-replace :: Find It And Replace It! is a multi-platform compatible program that makes series of consistent changes that you need to make to a series of files on your server. For example, the Copyright footer on all bazillion pages in your...



Puzzle Apps CMS and AS is an essential program for the webmasters by which they can easily modify or create design and content of web applications. The users of this program can feel ease to manage their web application contents. It uses MySQL...



Longest common subsequence problem is a good example of dynamic programming, and also has its significance in biological applications.

For more information about LCS, please see:



The algorithm takes in a 1-D signal and finds the Gaussian derivative of it with the given kernel size and sigma, to provide the zero crossings. The zero crossings are then analyzed to give peaks and valleys. In order to remove very closely...



Basically, it makes adding dynamic tabs and menus to your Wordpress blog/theme easy.

dTabs provides a new template tag dtab_list_tabs which outputs a user controled dynamically tabbed navigation system with optional drop down menus in...



Criline S'n'R - Powerful Search and Replace Utility Lets You Search for Any String Using a File Mask and Filters and Replace All Found Matches with another String, All Effortlessly and in Seconds.



A class that identifies the size and type of an image. Supports GIF, JPEG, PNG, SWF, PCX, PSD, TIFF, XBM, XPM, PBM/PGM/PPM, and both Windows and OS/2 BMP file formats. Also supports remote files.



Resize image resolution to specific size and export to JPEG, BMP, TIFF, GIF, PNG file formats. Aspect Ratio Control. You can Print the Image to Printer. Export color Image to greyscale. Smooth Scrolling improvement in Version 2.0. Rotate and zoom...



I needed to chunk up some text to send over UDP and didn't want to have messy for loops with an if condition for size and then the little bit left over. All that struck me as very messy. I then thought of the re module and came up with a very...

User Review for N-Puzzle (dynamic size and solver)
- required fields
     

Please enter text on the image