Tigers & The Sheep
An interactive backward-induction visualization of the Brainstellar strategy puzzle. Change the number of tigers and inspect why the outcome alternates between survival and attack.
Each tiger wants to survive. If survival is safe, it prefers to eat the sheep.
If one tiger attacks, it becomes the new sheep. The state therefore changes from N tigers + 1 sheep to Nβ1 tigers + 1 sheep.
Tap a state to inspect why it alternates.
N = 1 β attack
The only tiger can eat the sheep and nobody remains to eat it afterward.
State(N) depends on State(Nβ1)
A tiger attacks exactly when becoming the sheep in the Nβ1 state is safe.
Even N β sheep survives
Odd N β one tiger attacks. Even N β every tiger is deterred.
Source puzzle: Brainstellar β Tigers & The Sheep