For this portion of the assignment you are to write the Sixty-Six card game in Java utilizing a graphical user interface.  It is assumed that you have successfully implemented the Card, Deck, Hand, Rank, and Suit classes that are to be used with this program.


Sixty-Six is an ancestor of Bezique and dates back to the 17th century. Played in its original form, it is still a very enjoyable game.

Number of Players. Two people can play.

The Deck. The standard 52-card deck is stripped of all cards except the A, K, Q, J, 10, and 9 of each suit, making a total of 24 cards.

Rank of Cards. A (high), 10, K, Q, J, 9.

The Deal. Each player cuts, and the player drawing the high card shuffles, offers the pack for a cut, then deals six cards each, three at a time, beginning with his opponent. The thirteenth card is turned up for trump and laid beside the undealt cards which become the stock.

Object of the Game. The goal is to score 66 points as follows:

Marriage in trumps (K, Q announced): 40 points

Marriage in any other suit (K, Q announced): 20 points

Each ace (taken in on tricks): 11 points

Each ten (taken in on tricks): 10 points

Each king (taken in on tricks): 4 points

Each queen (taken in on tricks): 3 points

Each jack (taken in on tricks): 2 points

Winning last trick: 10 points

The player who first reaches 66 scores 1 game point. If he reaches 66 before the opponent gets 33 (a "schneider"), he scores 2 game points; if before the opponent gets a trick (a "schwarz"), he scores 3 game points. If neither player scores 66, no one scores in that hand and 1 game point is added to the score of the winner of the next hand.

If a player "closing" (see below) gets 66 or more, he scores the same as if the game had been played out. If the player fails, the opponent scores 2 points. If a player closes before his opponent has taken a trick, but fails to score 66, the opponent scores 3 points.

The Play. The non-dealer leads first. No one is obligated to follow suit. The higher card of the suit led, or a trump played to a plain-suit lead, wins the trick. The winner of the trick draws the top card of the stock (the opponent taking the next card), and leads for the next trick.

Either player holding the nine of trumps may exchange it for a higher trump card at any time, provided he has previously won a trick, unless the nine is the last card in the stock. A "marriage" is announced by showing the appropriate king and queen and leading one of those cards. Marriages may be announced only when one of the two cards is played - unless a player by showing a marriage makes his score 66 or more.

The non-dealer may announce a marriage on his first lead and score it after he wins a trick.

After the stock is exhausted or closed, the non-leader on each trick must follow suit if possible. Marriages may still be scored.

Closing. Either player may close (end the game), when he has the lead, either before or after drawing, by turning down the trump card. Thereafter, no cards are drawn, and the last trick does not score 10 points.

If either player announces during play that his score is 66 or more, the play immediately stops and the game is "closed."

Game. The game is won by the player who first reaches seven game points.