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

# Chain Reactions

Chain reactions are the core of the gameplay. They are triggered when a player selects a cell, linking nearby cells if they meet specific conditions.

* A reaction activates when cells are within a close distance.
* The more cells involved in the chain, the stronger the effect.
* Reactions can combine based on color or shape.
* The spread of the chain reaction depends on the density of cells on the field.
* If the level is overcrowded, the reaction fails to trigger.

## **Types of Chain Reactions**

These determine how cells interact, allowing players to customize reaction conditions and outcomes:

1. Color-Based Reaction – Cells of the same color merge and disappear.
2. Shape-Based Reaction – Cells of the same shape combine to create new cells.
3. Combined Reactions – A mix of color and shape interactions.

| **Reaction Type** | **Condition** | **Result**            |
| ----------------- | ------------- | --------------------- |
| **Color-Based**   | 〇+〇 ☐+☐ ∆+∆   | Cells are removed     |
| **Shape-Based**   | 〇+〇 ☐+☐ ∆+∆   | New cells are created |
