# Core Mechanics

{% embed url="<https://youtu.be/kywjvv4Mous?si=9YiQKJQECfKhHMmU>" %}

### Standard Chess Foundation

**8×8 Board & Pieces**

* **Setup:** Each player starts with 16 pieces—1 King, 1 Queen, 2 Rooks, 2 Knights, 2 Bishops, and 8 Pawns.
* **Movement:** Classic chess rules apply:
  * **Pawns** move forward (one square at a time, two on their first move) and capture diagonally.
  * **Rooks** move in straight lines along ranks and files.
  * **Knights** move in an “L” shape and can jump over pieces.
  * **Bishops** move diagonally across the board.
  * **Queens** move like both rooks and bishops combined.
  * **Kings** move one square in any direction and can castle under specific conditions.

<figure><img src="/files/EpsSdjdQHe3MEg3x8I48" alt=""><figcaption></figcaption></figure>

**Game Objective & Time Control**

* **Checkmate or Draw:** The goal is to checkmate the opponent’s King while avoiding stalemates or other draw conditions.
* **Time Control:** Games may feature **blitz, rapid, or classical** time settings, requiring players to manage their clocks wisely.

***

### The Ninja Twist

<div data-full-width="false"><figure><img src="/files/XJvtxGNIcgcGDs8ub75r" alt=""><figcaption></figcaption></figure></div>

NinjaChess is not just standard chess—it is **enhanced by powerful ninja abilities**. Throughout the game, players can **strategically deploy abilities** such as:

* **Stun:** Temporarily immobilizes an opponent’s piece.
* **Trap:** Creates a hidden zone on the board that can disrupt enemy movement.
* **Invisibility:** Conceals a piece for a limited time, making it harder for the opponent to track.
* **Other Special Techniques:** Additional ninja abilities will expand over time, providing unique ways to control the board.

These **powers introduce a dynamic layer of deception and strategy**, making every game an unpredictable battle of wits. **More details on how powers work will be covered in a separate section.**

***

### AI-Move Feature

<figure><img src="/files/E1vzOEbvxBQWvGoxTVkd" alt=""><figcaption></figcaption></figure>

**One-Click AI Assistance**

* Players can **click a "Make a Move" button** at any time to let the AI instantly decide and execute their next move.
* This feature is optional and serves as a convenience tool, especially for players looking for faster play or additional strategic input.

**Beware: AI Does Not Fully Understand Ninja Powers**

* **AI follows standard chess logic** but **may not always account for Ninja powers** like Stun, Trap, or Invisibility.
* The AI’s move may be strategically sound in traditional chess terms, but **it might overlook opportunities to use—or counter—special abilities.**
* Players must **use AI with caution**, as it could **miss key tactical advantages** unique to NinjaChess.


---

# 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://scroll.pocketninja.xyz/ninja-chess/core-mechanics.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.
