The Dog Riddle

A fun little challenge in Kotlin API design. Give it a try!