# A Carnival Puzzle
Suppose a carnival has two games, of which one must be played. Game \(i\) has:
- A four-sided die with up to four good faces.
- A starter score \(S_{i}\in\{0,1,2,3,4\}\).
Playing game \(i\) requires one to roll its die exactly four times and exit
the carnival with score
\[
\max(S_{i},\Delta)+S_{3-i}
\]
where \(\Delta\) is the number of rolls that landed on good faces. When should
one play either game?