Created
November 14, 2012 23:30
-
-
Save jackfoxy/4075599 to your computer and use it in GitHub Desktop.
simplified forced door reveal for let's make a deal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let forcedReveal doorWithPrize fstChoice = | |
match (doorWithPrize + fstChoice) with | |
|3 -> 3 | |
|4 -> 2 | |
|_ -> 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment