Skip to content

Introductory Java programming challenge to implement a "card game" where a dealer shuffles a deck of cards and then deals "hands" to each player.

License

Notifications You must be signed in to change notification settings

GamebreakingStudios/java-card-game

This branch is 1 commit ahead of, 17 commits behind viglucci/java-card-game:main.

Repository files navigation

java-card-game

A designer gave the following design for a card game to a developer:

Implement the first phase of a card game in which a dealer shuffles a deck of cards and then deals a hand of 5 cards to each player.

The running program should produce the below output:

Nick has the below cards in their hand:
  Ten of Diamonds
  Four of Clubs
  Queen of Hearts
  Three of Diamonds
  Nine of Diamonds
Tommy has the below cards in their hand:
  King of Hearts
  Six of Diamonds
  Ace of Clubs
  Queen of Spades
  Two of Hearts

Additionally, all tests should pass.

The developer has opened a pull request with their implementation of the card game. Your task is to review their pull request.

Branches

  • The main branch has the skeleton implementation of the card game.
  • The shuffle-and-deal branch has the developer's implementation of the above design.

About

Introductory Java programming challenge to implement a "card game" where a dealer shuffles a deck of cards and then deals "hands" to each player.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.6%
  • HTML 2.4%