# Decide a Card by Hash Value

### Hash Value

The blockchain transaction hash value is hexadecimal.

**Hexadecimal** (or hex) is a base 16 system used to simplify how binary is represented. A hex digit can be any of the following 16 digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F. Each hex digit reflects a 4-bit binary sequence.

### Decide a Card

We decide a card by 2 hex digits.&#x20;

One digit represent the Rank of the card, that's among 13 values:

Ace (1), 2, 3 , 4 , 5 , 6, 7 , 8, 9 , 10(a), Jack (b), Queen (c), King (d)

![mceclip1.png](https://bethash.zendesk.com/hc/article_attachments/360032343772/mceclip1.png)

Another digit represent the Color of the card, that's among 4 values:

Heart, Diamond, Club, Spade

![mceclip0.png](https://bethash.zendesk.com/hc/article_attachments/360032343732/mceclip0.png)


---

# 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://docs.bethash.io/how-to-play/decide-a-card-by-hash-value.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.
