Created
February 23, 2019 17:51
-
-
Save kubaracek/39c6d38c364c95f3b2b8a10edb09998f to your computer and use it in GitHub Desktop.
This file contains 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
validWords (Round (Player "Kuba") (Available "abcd") [(Guess "a"), (Guess "abb"), (Guess "ab"), (Guess "d")] [YellowCard]) | |
-- ["a","ab","d"] | |
validWords (Round (Player "Kuba") (Available "abcd") [(Guess "a"), (Guess "abb"), (Guess "ab"), (Guess "d")] [YellowCard, YellowCard]) | |
-- ["a","ab"] | |
validWords (Round (Player "Kuba") (Available "abcd") [(Guess "a"), (Guess "abb"), (Guess "ab"), (Guess "d")] [RedCard]) | |
-- ["a","ab"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment