# How To Play

<div><figure><img src="/files/bc2b1eac20RLYOS5t2DX" alt=""><figcaption><p>Host/Join the Match</p></figcaption></figure> <figure><img src="/files/k3NW29PQyj0aUcuYhDRQ" alt=""><figcaption><p>Match Settings</p></figcaption></figure></div>

1. Table Tennis is a game designed for two players. It's possible to play against a friend, or against an NPC
2. Both players need to come near the table to start the game
3. A notification prompt will show up on their screens with a message "Press E to play", or "Press E to play against an NPC" if nobody else is around
4. The host can choose their side and set the game rules
5. The second player that joins the table plays on the opposite side of the host
6. The goal of the game is to score the ball on the opponents side, ater the ball hits the opponent table side.


---

# 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://documentation.rcore.cz/paid-resources/rcore_pingpong/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.
