> For the complete documentation index, see [llms.txt](https://piraterush.gitbook.io/piraterush/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piraterush.gitbook.io/piraterush/future-games/chess.md).

# Chess

Arr matey, we be plannin' to add Chess to our PirateRush games! But this won't be no ordinary Chess game, we're addin' the ability for our pirates to bet on their games!

Chess be a two-player board game played on a checkered board with 64 squares, arranged in an 8x8 grid. The goal of the game is to capture the opponent's king while protectin' your own. White moves first, and then the players alternate moving one piece at a time. Each piece moves differently, and they can capture other pieces by moving to their square.

The king moves one square in any direction, and can also castle with the rook. The rook can move any number of squares along a rank or file, but not diagonally. The bishop can move any number of squares diagonally, but not through other pieces. The queen combines the rook and bishop moves and can move any number of squares along ranks, files, or diagonals. The knight moves in an 'L' shape, two squares in one direction and one square in the other, and is the only piece that can jump over others. The pawn moves forward one square at a time, or two squares on its first move. It can capture other pieces diagonally, and has special moves called en passant and pawn promotion.

In PirateRush Chess, pirates can bet on their games, adding a new level of excitement to this classic game of strategy. So get yer chess set ready, mateys, and prepare to outwit and outplay yer opponents to claim the treasure!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://piraterush.gitbook.io/piraterush/future-games/chess.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.
