the oldest known mechanical puzzle also comes from greece and appeared in the 3rd century bce. the game consisted of a square divided into 14 parts, and the aim was to create different shapes from these pieces. in iran "puzzle-locks" were made as early as the 17th century (ad).