They kind of reminds me of the components of a Ward Major from Katherine Kurtz's Deryni books. There are eight little cubes that look just like dice (the hero had trouble explaining that they are actually not a strange dice game), four are white, four are black. Each one has a name (basically they're One to Eight). When activated, white ones stick to black ones. Combined, they can be used to form a powerful protection spell.