Game
The straw goat code
Game: crack a four-colour straw code in eight guesses, guided by black and white pegs.
Tap the game to open it fullscreen. On a computer, Esc exits; on a phone, use the ✕ button.
How to play
There is a secret code of 4 bundles, in 5 colours that can repeat. Pick the colours and tap Submit. Each black peg says one colour is right in the right place; each white peg, that the colour exists but is elsewhere. Crack the code in 8 guesses and 180 seconds. (Keyboard: 1 to 5 pick, Backspace undoes, Enter submits.)
The story behind it
The julbock, the Scandinavian Yule goat, has taken many forms, and the straw goat is common to this day. The code is invented. Read the story in The Scandinavian Yule goat: from the last sheaf of grain to the great straw goat.