Currently, dealer app does not handle incorrect input well for both CLI and GUI.
For example:
both interfaces throws error when asked to deal more than 54 cards combined or asked to deal 0 hand for any players
GUI does not handle num. player < 1 (throws error), and forces num. player to be 10 when > 10.
CLI forces num. player to be 1 when < 1.
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.
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