House maze, outside the two-story, and within it the whole four floors, 23 rooms, 29 staircases, a well of water, and an underground passage to the castle Kanazawa - this is the Buddhist temple Mёryudzi, also known as Ninja-dera (Temple of the Ninja). His secret room once practiced their skills ninja warriors, and now their stunts show visitors during excursions. The temple belongs to the sect Mёryudzi mystical direction Nichiren.
The temple was built in 1585 by order of Maeda Toshiie, founder of the princely possession Kaga. First Temple located next to the castle of Kanazawa, but in 1643 Maeda Tositsune transferred it to the Terai-maki, located south of the castle. Of the temples that were in the Terai-maki, Maeda clan has created something like a defensive shield in case of attacks by the ruling Tokugawa clan, and the temple was Mёryudzi it disguised outpost. His secret passages, staircases, secret rooms were intended to confuse the enemy and help are in the temple to escape. The builders of the temple prepared a lot of clever traps for enemies, which include flips floors, stairs, firing spears through the floorboards, locks the door, and more. It is said that the whole temple complex mechanics of even a few centuries is in good condition and functioning perfectly.
The temple was built around the well depth of 25 meters, through which it was possible to get into the tunnel leading to the castle of Kanazawa. The temple was built with a large margin of safety not only in the event of hostilities, but also in the event of natural disasters, such as typhoons and earthquakes. From the observation tower of the temple is easily visible surroundings. The temple was established even room seppuku - ritual suicide, in case if the enemy breaks the defense Mёryudzi.
I can complement the description