Code in Place Final Project (Book of Changes Hexagram Generator)
by Joaquin M
Description
This program simulates the yarrow-stalk divination algorithm described by the Song Dynasty Neo-Confucian scholar Zhu Xi(朱熹)to generate hexagrams from the Book of Changes (《周易》). It (pseudo)randomly picks stalks to generate each line, scrapes and displays the corresponding original text from the Wikisource website, and finally displays an image containing the judgement and virtue of the hexagram.