itsAdee / High-Sum-CardGame-Java

Implementation of the High Sum Card game in Java , with CPU and Player as contestants.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HighSumCardGame-Java

Implementation of the High Sum Card game in Java, with CPU and Player as contestants.

Task Introduction

High Sum is a community card game that can be played with 2 to 10 players. One of the players will be the dealer. In this assignment, there is only 1 dealer, which is the Java program, and a single human player. Since the dealer is "a type" of player, references to "player" may be to the dealer or the single human player.

Values of Cards

The game uses one or more decks of standard playing cards. The suits are ranked as below.

  • Spades (highest).
  • Hearts,
  • Clubs,
  • Diamonds (lowest)

The cards are valued as follows:

  • Cards from 1 (Ace) through 9 are valued at their face value.
  • The 10, Jack, Queen, and King are all valued at 10.

The value on a player’s hand is the sum of the points counted for each card in the hand. For example, a hand containing (4, 6, 9) has a value of 19.

About

Implementation of the High Sum Card game in Java , with CPU and Player as contestants.


Languages

Language:Java 100.0%