Kui Ge, known as "Kui Xing Lou" by the people of Jinmen, is also called Kui Lou or Ba Gua Lou. It is dedicated to the worship of Kui Xing, one of the Five Cultural Gods in Chinese tradition. Since Jinmen was not a county before, it was not allowed to build a Confucian temple. In order to provide a place for the local youth to pray for good luck before taking the imperial examinations, local scholar Lin Feizhang, who had obtained the title of "Gongsheng," proposed the construction of the building, and he personally donated silver for the project. In the 16th year of Daoguang in the Qing Dynasty (1836), a building was constructed on Tushan Tou in Houpu, (near the present-day Chen Shiying Building), which was used to enshrine the deity of Kui Xing. The building is elegantly simple and has a history of more than 180 years. It was renovated twice, in the 44th and 52nd years of the Republic of China, but its original appearance was not changed. It has been designated as a county-level cultural relic. Kui Ge is a two-story building with a hexagonal shape, and its overall structure features a simple and bright wooden structure technique, reflecting the simplicity of this educational building. Every year, during the examination season, a series of worship activities are held to pray that examinees will achieve their goals and pass the imperial examinations.