# WidgetSwitcher

The widgetSwitcher is part of W\_main and holds 3 important widgets:

* W\_selectBet (index 0)
* W\_youDrawnCard and W\_drawnCardTab (index 1)

The goal of this widgetSwitch is to either show the bet tab (for phase 3) or the cards the user has drawns + buttons to draw or stand (Phase 4 and 5)

As a consequence, switching from index 0 to index 1 (or the other way around) means the game enters a new phase.


---

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