Spades Books & Bid Check

Score explicit team books versus bid with caller contract/overtrick/bag-cycle rules and carried bags; nil/blind-nil and individual-player penalties are outside this contract.

Description

Spades contract scoring distinguishes a made bid, failed bid and overtrick bags.

Spades contract scoring distinguishes a made bid, failed bid and overtrick bags. Caller rates define the scoring variant.1

Enter integer bid/tricks 0–13, bag threshold 1–1000 and prior bags below it, with nonnegative point rates and penalties. A made bid has tricks≥bid; only made bids add bags. Return signed contract-plus-overtrick score less completed bag-cycle penalties and remaining bags.

When to use Spades Books & Bid Check

Use Spades Books & Bid Check when you need to evaluate the supplied records under the calculation and evidence rules below. Nil contracts, team aggregation and full match history are excluded.

Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.

How to use Spades Books & Bid Check and understand its results

  1. Prepare the supplied game state, observations and explicit variant settings. Follow the card, board, coordinate and state conventions in the calculation rules.
  2. Enter teamBidBooks, teamWonBooks, priorBagCount, callerPointsPerBidBook, callerPointsPerOvertrick, callerBagPenaltyThreshold, callerBagPenaltyPoints using the field table and calculation rules, then run the tool.
  3. Read contractMade, overtrickBagCount, newCarriedBagCount, bagPenaltyCycles, signedRoundScore. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
teamBidBooksTeam bid booksnumberRequired
teamWonBooksTeam won booksnumberRequired
priorBagCountPrior bag countnumberRequired
callerPointsPerBidBookCaller points per bid booknumberRequired
callerPointsPerOvertrickCaller points per overtricknumberRequired
callerBagPenaltyThresholdCaller bag penalty thresholdnumberRequired
callerBagPenaltyPointsCaller bag penalty pointsnumberRequired

Enter integer bid/tricks 0–13, bag threshold 1–1000 and prior bags below it, with nonnegative point rates and penalties. A made bid has tricks≥bid; only made bids add bags. Return signed contract-plus-overtrick score less completed bag-cycle penalties and remaining bags.

cycles=floor((priorBags+overtricks)/bagThreshold)

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
contractMadeContract madeboolean
overtrickBagCountOvertrick bag countnumber
newCarriedBagCountNew carried bag countnumber
bagPenaltyCyclesBag penalty cyclesnumber
signedRoundScoreSigned round scorenumber
json
{
  "input": {
    "teamBidBooks": 5,
    "teamWonBooks": 7,
    "priorBagCount": 9,
    "callerPointsPerBidBook": 10,
    "callerPointsPerOvertrick": 1,
    "callerBagPenaltyThreshold": 10,
    "callerBagPenaltyPoints": 100
  },
  "output": {
    "contractMade": true,
    "overtrickBagCount": 2,
    "newCarriedBagCount": 1,
    "bagPenaltyCycles": 1,
    "signedRoundScore": -48
  }
}

Limitations and assumptions

Nil contracts, team aggregation and full match history are excluded.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.

Alternative or Complementary methods

Use Hearts Shoot-the-Moon Feasibility Check: Hearts point evidence can show whether a player still has a possible or completed shoot-the-moon result. Unknown queen ownership leaves points unassigned. For a complementary task, use Euchre Trump Trick Power Rank: Euchre bowers change both rank and effective suit. The same-color off-suit jack becomes trump for comparison.

References

  1. Spades Books & Bid Check — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies