In the field of mathematics, Sub-Saharan Africans had mastered fractal geometry as a method of creating art and architecture as well as games and for systems of divination. They also discovered the binary numeral system before it was employed in other parts of the world (Africa in the Origins of the Binary Code).