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
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
VisualNEO Web 19.4.5
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Top Code
MLM Software ONE 1.5.46
PHP Ecommerce Script 1.0.4
JChartLib 1.0
OpenCV Delphi wrapper 1.0
Taxi App Development 7.3
Car Rental Script 2.0
Video Conference Website Scripts 2.86
CopySharp 1.0
Java-2-Pseudo 1.0
PHP Source Code Utility 1.0.0
Ctrlproxy 3.0.2
Nonlinear F-16 Fighter Model 1.0
GnuWin64 64
Planyo online reservation system module 6.x-1.8
Traveling Salesman Problem (TSP) using Simulated Annealing 1.0
Top Rated
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
ATN Mall 2.0
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