# Bingo board card

> Canonical HTML: https://screenrig.ai/docs/cards/bingo-board/

The bingo caller's board: every number from 1 to 75 (or 1 to 90) with the called ones lit, the last call as a big ball that pops and rolls in, the count and the previous calls, the pattern drawn as a 5 x 5 card, and the prize. Written to the data store by the hall, one call at a time; it looks right from its params alone.

Category: Events. Tags: Social and audience, Events and venues, Bars and pubs.

## Previews

![Bingo board](/cards/bingo-board/v1/screenshots/canvas-bloom.webp?sha=b05a430f71aa6b7bd8efd0ca5c401179de38c766a33d6de259bb5fb7b638001b)

Canvas

![Bingo board](/cards/bingo-board/v1/screenshots/corner-bloom.webp?sha=bbdcddb086173d70d743181d6e9052c4780a22a32547a9c298950630f1b883ea)

Corner

![Bingo board](/cards/bingo-board/v1/screenshots/chip-bloom.webp?sha=bc9f47375b7e14a13b909d8863c476ef08be7437d4d54afbcdd306eeab26e9a2)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## Data and privacy

This card uses its configured properties and live card data.

## Properties

For theme, background, accent and position, see [Common properties](/docs/cards/#common-properties).

Set static properties in `params`. Bind `data` to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in `params`. Nested rows describe the contents of their parent property.

### Static properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `title` | string | `"Bingo"` | maxLength: `80` | The game's name. |
| `balls` | integer | `75` | `75`, `90` | 75-ball (B-I-N-G-O, five rows of fifteen) or 90-ball (six rows of fifteen). |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `called` | array | `[]` | maxItems: `90` | The numbers called, in the order they were called; the last is the latest call. Numbers outside the game and repeats are ignored. |
| `pattern` | string | `"Full house"` | maxLength: `80` | The winning pattern's name. Full house, four corners, X, plus, line, T, L, postage stamp, diamond and frame also draw as a 5 x 5 card (75-ball games). |
| `patternCells` | array | `[]` | maxItems: `25` | A custom pattern: the lit cells of the 5 x 5 card, 0 top-left, left to right and then down. Replaces the named pattern's picture. |
| `prize` | string | `""` | maxLength: `80` | The prize for this game. |
| `round` | string | `""` | maxLength: `40` | The game's place in the session, such as Game 4 of 12. |

## Canvas example

Add this item to a playlist page’s `primitives`. [Publish the playlist and assign a screen](/docs/cards/#publish-a-card-canvas).

```json
{
  "id": "bingo-board",
  "primitive": "card",
  "card": "bingo-board",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "bingo-board-main"
}
```

## Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see [API authentication](/docs/authentication/).

```console
curl --request PUT "https://api.screenrig.ai/api/card-data/bingo-board-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"called":[],"pattern":"Full house","patternCells":[],"prize":"","round":""}}'
```
