ucsb-cs56-projects / cs56-games-dealer

-
0 stars 8 forks source link

Handle incorrect inputs #40

Closed YunSuk closed 6 years ago

YunSuk commented 7 years ago

Currently, dealer app does not handle incorrect input well for both CLI and GUI.

For example:

Instead of crashing, it should print error message (not stacktrace) and instruct user to input correct number. Also, it should not allow more than 54 (or total number of cards) players IF the game does not allow dealing 0 hands.

200 points

YunSuk commented 6 years ago

Fixed. Now: