The I Ching is the oldest of the Chinese classic texts. The I Ching symbolism is embodied in a set of 64 abstract line arrangements called hexagrams (guà).
These are each composed of six horizontal lines (yáo); each line is either Yang (unbroken, a solid line), or Yin (broken, an open line with a gap in the centre). With six such lines stacked from bottom to top in
each hexagram, there are sixty-four possible combinations and thus sixty-four hexagrams.
Each hexagram represents a state, a process, a change happening at the present moment. When an hexagram is casted, it
is possible for one, many or all of the lines to be determined to be moving, ("old", or "instable") lines, i.e. their polarity is in the process of reversal and thus the meaning of the hexagram
is completed and the "target" hexagram resulting from these changes is also considered. The easiest method of working with I Ching is three coins method.
Our programm implements the three coins method in the following way: