Hello Java Forums, I am currently trying to build a simple blackjack game as part of my plans for march break. However, I am having problems in creating an optimal class design.

Designing classes has always been difficult and a challenge for me, especially during my high school comp sci classes.

Attached is my current UML diagram solution. Extending from the blackJackGame class are classes playerManager, gameRound, anddesign.jpg cardDeck.

playerManager and cardDeck contain arrays of players and card objects respectively. The player class inherits botplayer, which is an AI controlled player.

I am unsure whether having a gameRound object is necessary (since one round of the game is played each time).

If anybody could also please offer some insight/advice on properly designing a program, I would highly appreciate it. I've tried looking for other resources online but have had no luck.