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

# 🍥 Core Game Loop

**Exploration**

Players begin by choosing where to go:

* **Towns** — safe zones to trade, craft, and prepare.
* **Forests and open areas** — good for gathering resources and fighting common enemies.
* **Dungeons and ruins** — high risk, but the only place to find legendary rewards.
* **Corrupted lands** — temporary zones that appear during events, offering rare loot at higher difficulty.

Exploration is not only about movement — it’s about making choices. The player decides whether to farm resources, hunt monsters, or risk entering dangerous areas. **Combat**

Combat is the heart of Pixel Toy.

* **PvE:** Clearing dungeons, hunting monsters, and defeating world bosses.
* **PvP:** Arena battles, duels, and guild wars for prestige and ranking.

Each class has unique abilities, and equipment strongly affects performance. Success in combat often requires strategy — positioning, timing of skills, and coordination in group battles.

**Rewards**

Victories grant different forms of rewards:

* **Equipment and gear** of varying rarity (Common to Legendary).
* **Resources** such as ores, herbs, and special materials used in crafting.
* **Artifacts and NFTs** — unique items that players truly own and can trade on the marketplace.
* **Currency** that fuels upgrades and participation in events.

Rewards are not guaranteed; deeper dungeons and stronger enemies drop better loot, but also pose greater risks.

**Progression**

<img src="https://pixel-toy.gitbook.io/pixel-toy-docs/~gitbook/image?url=https%3A%2F%2F1379346106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FoX6PT1a6wl9ZdAkF5DZ8%252Fuploads%252FuvQR8Vy2LufbxpZsTm5s%252Fimage2_animated.gif%3Falt%3Dmedia%26token%3Db490be85-5552-4dd5-9392-a797aa2c5afa&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=b5296a23&#x26;sv=2" alt="" height="432" width="768">

Progression connects the loop together:

* Leveling up unlocks new skills and specializations.
* Better gear increases combat effectiveness.
* Crafting and upgrades allow long-term investment into weapons and armor.
* Guild participation and PvP rankings provide recognition and community status.

Every action pushes the hero forward, preparing them for harder challenges.

**Ongoing Cycle**

Once players return from their adventure, they prepare for the next one — crafting new items, joining guild raids, or chasing seasonal events. The cycle continues with new challenges, ensuring that gameplay stays fresh and rewarding.


---

# 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, and the optional `goal` query parameter:

```
GET https://pixeltoy.gitbook.io/pixeltoy-docs/core-game-loop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
