> For the complete documentation index, see [llms.txt](https://thientc9s-organization.gitbook.io/axie-jet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thientc9s-organization.gitbook.io/axie-jet/obstacles/electric-traps.md).

# Electric traps

Là các cạm bẫy điện được sinh ra random trong mỗi cuộc đua, Axie sẽ cần né bẫy điện, nếu chạm vào sẽ bị mất khiên/slow (multiplayer) hoặc mất khiên/die (singleplayer)

Độ dài đoạn điện giữa 2 đầu cực được tính theo công thức randomInt(100, 300)

{% code lineNumbers="true" %}

```typescript
// There are 4 types
export const ELECTRIC_TRAP_TYPE = {
    VERTICAL: 0,
    HORIZONTAL: 1,
    SPIN: 2,
    SPIN_CENTER: 3,
}


```

{% endcode %}

<img src="/files/nCgR97fSa1alOO8VSo9Y" alt="" class="gitbook-drawing">

**Collision**

<img src="/files/qE8HTAUSNzEpEdTFeF09" alt="" class="gitbook-drawing">
