> For the complete documentation index, see [llms.txt](https://pixelisland.gitbook.io/pixel-island-whitepaper2.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pixelisland.gitbook.io/pixel-island-whitepaper2.0/game-feature/heroes/pvp.md).

# PVP

The PvP (Player versus Player) mode in pixelisland  is a competitive and strategic environment where players use their Heroes to battle against other players.&#x20;

<figure><img src="https://2078860366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA16hZIv6mAiwKLpr05kM%2Fuploads%2FTjoTEAetE82QCb1LYEzg%2Fpvp.png?alt=media&amp;token=057df890-1e72-4903-8f6d-6748f4859379" alt=""><figcaption></figcaption></figure>

Each time a hero enters a duel, it will automatically match the heroes in the queue on the current chain. If the match is not successful, it will go up the chain first and enter the queue, waiting for other heroes in the duel to match. After a successful match, the heroes will fight based on their attack power and defense power.&#x20;

The battle process is as follows:&#x20;

**Hero PVP calculation (turn-based)**&#x20;

According to the turn-based system, a total of five rounds of battle will be carried out. After the battle, the calculation will be done to see which side has more HP. The side with more HP will win.

**Attack power**&#x20;

Attacker attack-Defender defense

**Hit rate**

Attacker's luck - Defender's speed, luck -speed,  0\~10 adds 70%, 10\~30 adds 60%, > 30 will definitely win.

**Turn-based initiative**

Compare the speed, attack first if the one is bigger, if they are the same, it will be random.

**Critical hit rate**

There is a chance of a critical hit every round, the critical attack power is doubled, and the critical hit rate is 100% skill.
