# What is maze?

What is maze?

&好處

Rating
• Rover
Lv 7

你意思是"迷宮"(maze)嗎?但...看不出有甚麼好處及壞處啊

~~

迷路園又稱迷宮，是一個設計來讓人們作消閒用的遊戲，人們通過尋找出路而獲得樂趣。

迷路園的路徑是固定的，有一種迷路園會使用多個門戶連結多個房間，讓人們需要在多個門戶裡作出選擇。

公園的迷路園通常由多幅牆與房間組成，配以樹籬、草地與各種顏色的石頭，有時甚至配以漫山遍野的玉米，景色優美，這是為了吸引遊客到來。

迷路園亦可以紙與筆畫成，人們通由鉛筆畫出路徑。

公園裡的迷路園

尋找出路

數學家歐拉是首位使用平面分析方法來尋找迷路園出路的人，此研究被稱為拓撲學。

以下的算法是為不知道迷路園設計的挑戰者在身處迷路園時尋路用。

使用右手定律的遍歷

右手定律，或名為左手定律是最著名的迷路園算法。如果該迷路園是由簡單的連接組成，換句話說，即是所有牆皆連接起來，這樣只要將其中一隻手依著其中一堵牆，然後前進，則肯定不會迷路，而且可尋到出口，否則將會有機會回到原點。但如果該迷路園並非簡單連接，則這個方法不可助您找到迷路園的關節位。右手定律亦可以解決三維或更高次元空間的迷路園。

一個細小的迷路園

A maze is a complex tour puzzle in the form of a complex branching passage through which the solver must find a route. This is different from a labyrinth, which has an actual through-route and is not designed to be difficult to navigate (despite the common uses of the word to indicate various complex, confusing structures). The pathways and walls in a maze or labyrinth are fixed (pre-determined). Maze-type puzzles where the given walls and paths may change during the game are covered under the main puzzle category of tour puzzles.

Maze construction

Mazes have been built with walls and rooms, with hedges, turf, or with paving stones of contrasting colors or designs, or in fields of crops such as corn or, indeed, maize. Maize mazes can be very large; they are usually only kept for one growing season, so they can be different every year, and are promoted as seasonal tourist attractions. One type of maze consists of a set of rooms linked by doors (so a passageway is just another room in this definition). Players enter at one spot, and exit at another, or the idea may be to reach a certain spot in the maze. Mazes can also be printed or drawn on paper to be followed by a pencil or fingertip. One of the short stories of Jorge Luis Borges featured a book, called The Garden of Forking Paths, that was a literary maze. Various maze generation algorithms exist for building mazes, either by hand or by computer.

Source(s): Wikipedia