The Allies Flags Puzzle is a reproduction of a WWI game, with 5 woodblocks and box. This is a vintage variation of the Rubrics cube puzzle. There were several designs of this puzzle made during WWI.
“The object of the Puzzle is to arrange the 5 Blocks so that not more than 1 of each of the Flags shall appear on any one side of the series. Each of the 4 sides must show 1 British, 1 French, 1 Russian, 1 Belgian, 1 Japanese”
Such games were just as often sent to soldiers. Pocket or travel game sets were both available commercially to send overseas, and distributed by civilian groups such as the YMCA and the Red Cross.