The 'prisoner coin flipping' puzzle: tidy simulation in R Previously in this series The “lost boarding pass” puzzle The “deadly board game” puzzle The “knight on an infinite chessboard” puzzle The “largest stock profit or loss” puzzle The “birthday paradox” … ← Teach (and learn) Bayesian and frequentist side by side The 'spam comments' puzzle: tidy simulation of stochastic processes in R →