# Enumerations

Location: /Game/Blackjack/BP/Enum

### E\_endGameStatus

* Win
* Lose
* Push
* Blackjack

Evaluated by checkEndGameStatus()&#x20;

Used by gainCalculation()  to check how much the player earned.

Used at the end of a round to check if you, as a player, have blackjacked/won/lost, or got a push. The popup will then display a certain message according to the situation.

### E\_HandState

* playing, player (You) can stand / draw a card.
* stop\_mightwin, stop the game on a score of 21. The dealer can still get 21 as well, tho, so his hand needs to be checked too before deciding who is the winner.
* stop\_bust, player (You) has >21 points. Instant lose.

Evaluated by evaluateHand() every time you, as a player, has drawn a card so the game knows what to do then.&#x20;

### E\_Players

* You, refers to the user, the PC\_player. "Player" might have been to vague since the dealer is also a player somehow.
* Dealer

Used most of the time to perfom actions / calculation (through functions) either on the Dealer or the player (You).&#x20;

### E\_Rank

Rank of all the cards, used in the S\_card and S\_cardInHand. Not used to perform any calculation. Value, from the DT\_card, is used instead to calculate points. So basically, just used to populate the DT.

### E\_Suit

Suit of all the cards, used in the S\_card and S\_cardInHand. So basically, just used to populate the DT.


---

# 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/enumerations.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.
