# Multiplayer

**Creating a Lobby**

1. **Open Multiplayer Mode**:
   * From the main hub, select the "Multiplayer" option.
2. **Create a Lobby**:
   * Click on "Create Lobby."
   * Set the amount of gold you wish to wager.
   * Optionally, you can set a password for the lobby to restrict access.

<figure><img src="/files/rvac3mGvrwp7nExJcpyE" alt="" width="288"><figcaption></figcaption></figure>

3. **Start the Game**:

* Once you've set the wager and password (if applicable), click on "Create."
* You will then play the minigame and set your result.
* After playing, your lobby will be listed and waiting for a challenger.

4. **Delete the Lobby** (Optional):

* If no one has joined your lobby yet, you can delete it by clicking on the "Delete" button next to your lobby.
* Note: Deleting a lobby will cost a small fee in gold.

<figure><img src="/files/1Amb1ExjG5aOK1ooy20Q" alt="" width="288"><figcaption></figcaption></figure>

**Joining a Lobby**

1. **Open Multiplayer Mode**:
   * From the main menu, select the "Multiplayer" option.
2. **Find a Lobby**:
   * Browse the list of available lobbies.
   * Select a lobby you want to join.
   * If the lobby has a password, you will need to enter it to proceed.

<figure><img src="/files/ATABh8AHztUGg4Wwin5F" alt="" width="288"><figcaption></figcaption></figure>

3. **Accept or Decline the Challenge**:

* Once you open the lobby, you can either accept or decline the challenge.
* If you accept, you will play the minigame.
* If you decline, you will return to the lobby list.

<figure><img src="/files/DPFCb7VWPmJJ0ZhkhHMp" alt="" width="288"><figcaption></figcaption></figure>

**Playing the Game**

* **For the Challenger**:
  * If you accept the challenge, you will play the minigame and set your result.
  * Once both players have played, the game will determine the winner.
* **Win/Lose/Draw**:
  * **Winner**: A popup will appear congratulating you on your win and awarding you the wagered gold.
  * **Loser**: A popup will appear informing you of your loss.
  * **Draw:** In case of a draw, the wager amount is returned to both parties.

<figure><img src="/files/9VwhawR6gA9Ei3ADVZuF" alt="" width="295"><figcaption></figcaption></figure>

#### Additional Tips

* **Setting a Password**: Use this feature to play with friends or restrict access to your lobby.
* **Wager Wisely**: Ensure you are comfortable with the amount of gold you wager.
* **Check the Leaderboards**: Keep track of your wins and gold earned in the multiplayer mode.
* **24-hour lobby limit:** The lobby will be deleted if there is no challenger for your lobby after 24 hours of its creation.

Enjoy competing and earning gold in the multiplayer mode! Happy gaming!


---

# 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.wallstreetgames.net/platform/multiplayer.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.
