"If you roll a 2, 3, or 11, you lose." Should be 2, 3, or 12. More importantly, the code is correct :)