The article contains a selection of problems in which dwarfs are guessing their hat colors, and they are looking for optimal strategies using mathematics.