Project 2020: Rook - As played with the classic Adventist rules

Your challenge is to program the multiplayer game called rook

Game Explained

The stages of the game are as follows.

Deal a Hand

  1. The deck is consists of 4 suits (Black, Green, Red and Yellow) and one Rook Bird card. Each suit has numbers 1-14. For 3-6 players remove the 2s, 3 and 4s from the deck.
  2. A dealer is chosen. Anyone can be the first dealer. Each successive hand will be dealt by the person to the left of the previous dealer.
  3. Each player receives and equal number of cards and, a pile in the middle called the kitty receives a number of cards based on the number of players. Cards are distributed one at a time to each pile.
    1. 3 players: Kitty = 6
    2. 4 Players: Kitty = 5
    3. 6 Players: Kitty = 3

Bidding a hand

Each hand contains 200 points distributed as follows:

  1. 5s are worth 5 points
  2. 10s are worth 10 points
  3. 14s are worth 10 points
  4. 1s are worth 15 points
  5. Rook Bird is worth 20 points
  6. Last trick is worth 20 points

Although only the 5s, 10s, 14s, 1s and the Rook Bird are worth points, cards take other cards based on numerical value in the following order: 1, 14, 13, ..., 6, 5. Hence we treat the 1 as an ace. A person is bidding on how many points they can take in one hand.

Game Setup

This stage is controlled completely by the bid winner.

  1. The kitty is added to the bid winners hand.
  2. The bid winner chooses cards to discard (equal to the number of cards in the kitty)
  3. The bid winner advises the rest of the players if they discarded point cards in the kitty. This is important as the person who gets the last trick will also get the discarded kitty points if there are any in the discard kitty.
  4. The bid winner announces the suit that will be trump in this hand. The trump color will then take any other color if played in the same trick. The Rook Bird is considered the lowest member of the trump color. E.g. if Trump is red, the Rook Bird would be lower than a Red 5, but would take any other color no matter what the denomination.
  5. Depending on the number of players the bid winner may also call partner(s). In calling a partner, the bid winner identifies a specific card, the partner is not revealed until the card is played. The number of partners the bidwinner may call is:

    $$\lfloor\frac{players}{2}\rfloor - 1$$

Game Play

The game is played in a series of "tricks." A trick is started when the winner of the last trick plays a card or the bid winner for the first trick of a hand. Play than continues clockwise until everyone has played a card.

At the end of the hand points are added up. The winner of the last trick gets 20 points and the points in the discarded kitty.

The game ends with the winner being the individual with the highest score over 500. If no one has 500 or more, deal another hand.

Questions

Strategies

  1. As the bid winner, you should try to run everyone else out of trump. This way no one else can trump in and steal other tricks but you.
  2. Counting cards is essential to knowing when others are out of a color such as trump. Some people also try to keep track of the outstanding high card in each suit of interest. Adapt your strategy according to your ability or better yet, learn to memorize better.
  3. As the bid winner, watch for your partner to reveal themselves by playing points on tricks that they would not need to. After all it is in their best interest to ensure that you get lots of points (it will be their points too eventually).
  4. Never play a point card yourself if you (or your team) are at risk of loosing the trick. It is a cardinal sin to play a 14 when the 1 has not been played (and you don't have the 1).
  5. Play points on tricks you believe your group will win (partners or their opposition).
  6. Never bid on a hand where you won't hold enough trump to run everyone else out (known as bleeding trump).
  7. As the bid winner, try to eliminate suits from your hand. Having a one suit hand is extremely rare (bid high), having been dealt a two suit hand is also rare, but great! Getting to a two suit hand after collecting the kitty should be possible.
  8. If you can take all the points you need without help consider calling yourself your own partner. If you don't even if you win, you could take someone else up too, and if they started with more points than you, they could end up winning the game on your hand.

PrinciplesOfNetworkingCourse/Project2020 (last edited 2021-01-14 19:24:10 by scot)