> For the complete documentation index, see [llms.txt](https://docs.bethash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bethash.io/how-to-play/decide-a-card-by-hash-value.md).

# 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)
