Criteria | Points |
---|---|
Card class is defined correctly | 10 |
Stack class is defined correctly | 10 |
User is able to get new card by pressing option 0 | 10 |
Valid moves are detected, and stack is updated | 20 |
Invalid moves are detected and denied | 20 |
Remove card removes top card from stack | 10 |
Bottom card removes all cards except for the bottom card | 10 |
The game is ended when user has no cards left | 10 |