Enter your search keyword(s):

Click to search our directories-AllWebHunt, Encyclopedic, TopChoice, Or Google, Alexa, About & Yahoo:

 


Puzzle
Home / Top / Games / Video Games / Puzzle See also:
Related articles

Edit | Discuss Article

N-puzzle

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×3, the puzzle is called the 8-puzzle or 9-puzzle. If the grid is 4×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.

The n-puzzle is a classical problem for modelling algorithms involving heuristics. Commonly used heuristics for this problem include counting the number of misplaced tiles and finding the sum of the Manhattan distances between each block and its position in the goal configuration. Note that both are admissible, i.e., they never overestimate the number of moves left, which ensures optimality for certain search algorithms such as A*.

It is possible to use parity arguments to show that some starting positions for the n-puzzle are impossible to resolve, no matter how many moves are made. This is done by considering a function of the tile configuration that is invariant under any valid move, and then using this to partition the space of all possible labelled states into equivalence classes of reachable and unreachable states.

Table of contents
1 How Sam Loyd made his fortune
2 See Also
3 External links

How Sam Loyd made his fortune

In its most famous version, the fifteen puzzle is a game in which 15 of the 16 squares of a 4×4 frame are filled with numbered sliding pieces, leaving one space in which to slide one piece at a time. The object is to slide the 15 pieces into numerical order.

Thus, the goal is to produce this configuration:

If the pieces 14 and 15 are exchanged, resulting in the following initial configuration:
then the puzzle is not soluble.

The "hook" in the fifteen puzzle is that there are two distinct sets of positions which can be assembled from the pieces with different parity, and there is no way of moving between them using the allowed moves, as they preserve parity. The parity in this context (the invariant) is the parity (odd or even) of the number of pairs of pieces in reverse order plus the row number of the empty square. For the order of the 15 pieces consider line 2 after line 1, etc., like words on a page.

Thus an even permutation of the order of the 15 pieces can only be obtained if the empty square is not moved or moved two rows, and an odd permutation of the order of the 15 pieces can only be obtained if the empty square is moved one or three rows.

By contrast, note that considering the parity of permutations of all 16 squares (15 pieces plus empty square) is not meaningful here, because it changes with every move.

This allowed Sam Loyd, who invented the puzzle in the 1870s, to offer a prize of $1000 which could never be claimed, fueling the popularity of the game. The game became a craze in both the USA and in Europe.

For larger versions of the fifteen puzzle, the problem of finding a solution is easy. The problem of finding the shortest solution is NP-hard.

See Also

External links


Source | Copyright
Webmasters: Add your website here:

Readers: Edit | Undo | Discuss Listings

Mah Jong Quest
Classic Mah Jong and fun adventure mode
http://www.download-free-games.com/puzzle_game_download/mahjong_quest.htm

Actual Entertainment
Home Gubble and Gubble2
http://www.ActualEntertainment.com/

Brian's Puzzle Page
Puzzles of all kinds for kids of all ages. Online puzzles, free downloads, lists of puzzle pages, other fun stuff.
http://www.btcomputing.com/puzzle.htm

SEGA Swirl
Puzzle game for PC and SEGA Dreamcast. Connect and remove similar colored swirls. Users can play by themselves, with up to 4 players, or over email.
http://www.SegaSwirl.com

Everett Kaser Software
Puzzle and logic games for PCs. Include the classic logic deduction puzzles of Sherlock, Dinner With Moriarty, and Descartes Enigma, the "boulderdash" style MESH:Hero games, and Solitile - a game of matched tile removal.
http://www.kaser.com/

ADC-Soft - Games
Shareware and freeware puzzle games for Windows. B-Jigsaw and B-Puzzle allow making your own jigsaw and sliding puzzles from BMP and JPEG files, CTris2000 Tetris variation, Hex Mines Minesweeper variation.
http://www.adcsoft.com/

Mountain Vista Software
"Fathom It!", a solitaire adaptation of the classic pencil-and-paper game of battleships, for logical deduction puzzle buffs. Windows shareware.
http://www.mountainvistasoft.com

Zooker
A software game based on a slide puzzle. No one has found all twelve solutions yet. Can be played alone or with up to 40 people. By Decoz, mail order only.
http://www.zooker.com

Cyber City
Collection of downloadable multiplayer online games. [English and Chinese]
http://www.netfun.com/cgi-bin/netfun/home02.asp

GameSpot: Puzzle Games
Portal to Gamespot puzzle reviews, downloads, pictures, and links.
http://gamespot.com/gamespot/filters/genre/0,11892,6016970,00.html

Supaplex
A VGA game similar to BoulderDash. Includes links, news, and information.
http://www.elmerproductions.com/sp/

Rings Of The Magi Add-Ons
Add-ons for the MVP Software game.
http://www.geocities.com/ringsofthemagi/

Funny Ball 2
A 3D game with the objective of moving your marble around a maze to gather coins while overcoming obstacles. Includes screenshots, downloads, skins, and instructions.
http://www.funnyball2.com/

ElectrObalz
A ball and paddle type game. Includes a demo, screenshots, and information.
http://www.isotope244.com/games.html

Bejeweled Deluxe
Download and strategy guide with how to and scoring guide.
http://www.bejeweled.info

Kye
A charity shareware program sponsoring the Save the Children. Designed and written by Colin Garbutt. Offers shareware downloads, add-on levels, and tips.
http://www.classicgaming.com/kye/

15Slide
An advanced version of the well-known 15 puzzle. Contains screenshots, download, instructions, links, and system requirements.
http://softak.hypermart.net/slide/

All-Reviews.com - Stephen King's F-13
Contains a review of the game.
http://www.all-reviews.com/videogames/stephen-kings-f13.htm

All-Reviews.com - Roll Away
Offers a review of the game.
http://www.all-reviews.com/videogames/roll-away.htm

Sophistry
Reach the 21st level of an enormous network of interlocking screens, each of which is covered with blocks that you bounce along on. Contains screenshots, download, and game description.
http://www.ysrnry.co.uk/articles/sophistry.htm

Deadly Rooms of Death
A game of dungeon exploration for Windows. Includes screenshots, tips and tricks, download, game information, and news.
http://www.drod.net/

Dweebs
Guide the Dweebs to the spaceship. Includes demo, merchandise, online shop, and competitions.
http://www.dweebs.info/

Mr. Matt
An addictive puzzle game for Windows 95, 98, NT, 2000, ME. Dig through a cave, eat fruit and avoid falling stones. No shooting, no killing, just thinking ahead and hours of endless frustration. Shareware, register to get extra games and trade games with other fans.
http://www.wrotniak.net/works/mrmatt/index.html

Plato
Computer mind game. It is adapted from an ancient conundrum that, long ago, beguiled the wise men of the Orient and which has been resurrected and re-presented in a modern format.
http://www.harrogate.com/plato/

.



Help build the largest human-edited directory on the web.
 Submit a Site - Open Directory Project (modified) - Become an Editor

Modified contents copyright 2008. All rights reserved.