PM Assignments

Judgement Card Game Score Keeper GPT

Ringg AI · APM

Build a custom ChatGPT GPT that keeps score and acts as game master for the trick-taking card game Judgement.

Objective

The aim of this assignment is for you to make a score keeper GPT using chatgpt i.e. a gpt for the game judgement which is defined below. The criterion for evaluation is going to be as follows:

  1. Ease of entry of scores for all players by the score keeper
  2. Ease of accessing current scores and score totals at a player level for the score keeper
  3. Ability of the GPT itself to direct the scorekeeper on how to run the game, what to do next and become the Game master
    1. Tell the Score keeper which is the next trump for the next round
    2. How many cards to deal for the round
    3. Which player to deal the first card to in every round
    4. Keep track of Bids of each player
    5. Keep track of Points of each player after round completion

For your submission, please send a link of your GPT.

*Catch: You will have to buy the PLUS version of chatGPT worth $20 for a month for this. While I would not be able to reimburse you for it, I promise it will be worthwhile if you attempt this assignment*

Judgment (Judgement) Card Game – Complete Guide

Introduction

Judgment (also called "Judgement" or "Estimate") is a popular trick-taking card game played in India and other parts of South Asia. The game is highly strategic, as players must accurately predict (or judge) how many tricks they will win in each round.

It is usually played with 3 to 6 players and a standard 52-card deck. The game consists of multiple rounds, where the number of cards dealt to each player varies from one card to the maximum number possible, then back down to one (in a pyramid structure).

Rules & Gameplay

1. Setup

  • Players: 3 to 6 players.
  • Deck: A standard 52-card deck is used.
  • Card Ranking: Standard ranking applies (A is highest, followed by K, Q, J, 10, ..., 2 being the lowest).
  • Trump Suit: A suit may be chosen as trump in the following order in each round: Spade, Heart, Clubs, Diamond

2. Game Format

  • The game is played in rounds.
  • The first round starts with one card per player, and in each subsequent round, the number of cards dealt increases by one.
  • This continues until the maximum possible cards are dealt (typically when the deck is nearly exhausted)
  • The first card dealt in each round changes to the person sitting to the left of the person who got the first card in the previous round
  • The maximum number of cards dealt depends on the number of players:
    • 3 players → 17 rounds (1 to 17)
    • 4 players → 13 rounds (1 to 13)
    • 5 players → 10 rounds (1 to 10)
    • 6 players → 8 rounds (1 to 8)

3. Bidding (Judgment) Phase

After the cards are dealt in each round:

  1. Each player must predict exactly how many tricks they will win starting from the person who got the first card
  2. Bids are made in a clockwise direction one-by-one.
  3. The sum of all bids does not have to be equal the total number of tricks available.
  4. The last player cannot make a bid that forces the sum of all bids to match the number of tricks available

4. Playing the Round

  • The player who got the first round and made the first bid, leads the first trick.
  • Standard trick-taking rules apply:
    1. The player who leads plays any card.
    2. Other players must follow suit if possible.
    3. If a player cannot follow suit, they may play any card.
    4. The highest card in the led suit wins the trick.
    5. The winner of the trick leads the next one.
  • If a trump suit is in play (variant rules), a trump card beats any card of another suit.

5. Scoring System

At the end of each round:

  • Players who exactly match their bid score points.
  • The common scoring method:
    • If a player makes their bid: They earn 10 points + number of tricks won.
    • If a player misses their bid: They receive 0 points.
  • Example:
    • If a player bids 3 and wins exactly 3 tricks, they score 10 + 3 = 13 points.
    • If a player bids 3 but wins only 2 or more than 3, they score 0 points.
    • If a player bids 0 and wins no tricks, they score 10 points.
  • The game continues for all rounds, and the player with the highest total score at the end wins.

Example Gameplay Walkthrough

Round 1 (1 card per player): Trump: Club ♣

  • Player A gets: K♠, Player B gets: 5♥, Player C gets: J♦.
  • Bids:
    • Player A: 1
    • Player B: 0
    • Player C: 1 (cant say 0)
  • Play:
    • Player A leads K♠.
    • Player B has no spades, so they play 5♥.
    • Player C has no spades, so they play J♦.
    • Player A wins (highest in the leading suit).
  • Scoring:
    • Player A bid 1 and won 1 → Scores 11.
    • Player B bid 0 but won → Scores 10.
    • Player C bid 1 but lost → Scores 0.

Round 2 (2 cards per player), Trump: Spade ♠

  • Cards dealt:
    • Player A: 7♣, A♥
    • Player B: 10♠, 3♥
    • Player C: Q♦, 6♠
  • Bids:
    • Player A: 1
    • Player B: 1
    • Player C: 1 (cant say 0)
  • Play:
    • Player A leads A♥, Player B follows with 3♥, Player C has no hearts and plays Q♦.
    • Player A wins (highest heart).
    • Player A leads 7♣, Player B plays 10♠, Player C plays 6♠.
    • Player B wins (highest trump).
  • Scoring:
    • Player A bid 1, won 1 → Scores 11.
    • Player B bid 1, won 1 → Scores 11.
    • Player C bid 1, won 0 → Scores 0.