Simple Poker game

Using the @Card@, @Deck@, @Hand@, @PokerDeck@, and @PokerHand@ class
definitions, write a @Player@ class, a @Game@ class, and a program to
play a simple Poker game with any number of players.

In this simple poker game, each of the players deals a hand from a
shuffled deck. Whoever has the highest Poker hand wins.

Your code should work correctly for hands that contain 5 cards.

Input

The input consist of two non-negative integers, the number of players
and the number of cards per hand, followed by a shuffled deck of cards.

Output

For each player, print the player and the hand dealt by the player along
with its classification, followed by a blank line. Print also the winner
of the game.

Precondition

The number of cards in the shuffled deck is not less than the number of
players times the number of cards per hand.

Problem information

Author: Gabriel Valiente

Generation: 2026-01-25T17:09:17.555Z

© Jutge.org, 2006–2026.
https://jutge.org
