# How to Play?

## Play with an opponent

To engage in a match with an opponent in **BoTHS**, follow these steps:

1. **Generate a Room Link:**
   * Click the "Create Room" button to initiate the game room creation process.
   * Once the room has been generated, you will be provided with a unique room link.
2. **Share the Room Link:**
   * Share the room link with your opponent, enabling them to join the game.
3. **Login and Connect Your Wallet:**
   * Before commencing the game, you would need to log in by connecting your Ethereum wallet ID.&#x20;
4. **Select Your Color:**
   * As part of the login process, you will have the option to choose the color you want to play with.
   * Colors typically represent different sides in the game.
   * You can either be **Black** or **White.**
5. **Select Your** [**Chess Formation**](https://boths.gitbook.io/blitz-of-the-hidden-soldiers-wiki/game-bibliotheca/chess-formations)**:**
   * &#x20;During the login process, you will be able to choose the [<mark style="color:blue;">**`Chess Formation`**</mark>](https://boths.gitbook.io/blitz-of-the-hidden-soldiers-wiki/game-bibliotheca/chess-formations) you want to play with. For more information about **Chess Formation**, click [**`here.`**](https://boths.gitbook.io/blitz-of-the-hidden-soldiers-wiki/game-bibliotheca/chess-formations)
6. **Play:**
   * Once both players have logged in and selected their colors, and chess formations the game can begin.
   * Navigate the board, make moves, and strategize to capture your opponent's king.

## Game Rules

**BoTHS** follows a gameplay structure closely resembling standard chess, with a notable deviation in the victory condition. In **BoTHS**, the objective is not to checkmate the king but rather to capture it. For additional details about the game, refer to <mark style="color:blue;">**`here.`**</mark>

**Key Rule Differences:**

* **No Check or Checkmate:**
  * Unlike traditional chess, **BoTHS** eliminates the concepts of check and checkmate. Players have the liberty to freely move their kings into check positions without facing immediate consequences.
* **King Movement:**
  * Each player can move their king without restraint to a position under threat, as there is no inherent penalty for being in check.
* **Winning the Game:**

  * The primary goal is to capture the opponent's king. The player who successfully captures the opponent's king emerges victorious in the game.

<br>


---

# 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://boths.gitbook.io/blitz-of-the-hidden-soldiers-wiki/how-to-play.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.
