Last active
December 15, 2015 07:29
-
-
Save allenwlee/5224034 to your computer and use it in GitHub Desktop.
cards
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
classes: card, deck | |
modules: io, check, ui | |
flow | |
open file | |
parse | |
create card | |
add card to deck | |
shuffle cards | |
display welcome | |
get card from deck as current card | |
get a guess | |
verify guess | |
display right/wrong | |
nouns: | |
deck, | |
card, | |
guess, | |
question, | |
answer, | |
file | |
verbs(class): | |
draw card(d) | |
make guess(ui) | |
respoind(ui) | |
check/verify guess(check mod) | |
open file(io) | |
read and parse(io) | |
shuffle(d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment