# DT\_cards

<figure><img src="/files/tCCLrEHJnvZ0XczSyxFB" alt=""><figcaption></figcaption></figure>

Located in /Game/Blackjack/BP/DT

Uses the structure S\_card

This is the Data Table that holds all the cards needed to play the game. You will find 6 columns:

* **rowName**: unique key to the card
* **Suit**: suit of the card
* **Rank**: rank of the card
* **Value**: value used to calculate the points given by the drawn cards. For the ace, another calculation is performed in the CalculatePoints() function since it can be worth 1 or 11. King, Queen, Jack and Ten are worth 10 points.
* **Texture**: the face up texture, displayed if the bool isFaceUp is set to true. Location: /Game/Blackjack/UI/Cards
* **TextureVerso**: the face down texture, displayed if the bool isFaceUp is set to false. Location: /Game/Blackjack/UI/Cards

The deck is created by reading and adding each line to the variable "deck", which is the same type as DT\_Cards. Then, the deck needs to be shuffled, otherwise, the drawn cards would always be the same at every round.&#x20;

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://easy-blackjack.gitbook.io/easy_blackjack-docs/dt_cards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
