I'm trying to make a very simple blackjack game to play against the computer.
I now made it, without using GUI in one class. It's quite big and now I want to try to make it possible to split. However, I would like to make methods like "drawcard". (Now I use a switch for this) and call the "drawcard" method in the main class.
But, if I place my switch (drawcard) in an method in an other class, I can only return 1 variable, and I want to return more (the name of the card, the points you get by it and if it's a ace or not.)
I just started with learning
Java so sorry if I don't use the correct terms. I can copy the code I have now, but then I have to translate some names of variables and text . (it's now Dutch). Could I just copy the Javacode in the message?
Could anybody give me some advise if I should use more classes or not? Maybe I just have to learn more.