# Broken circle help \[solved\]

**URL:** <https://discourse.codecombat.com/t/broken-circle-help-solved/31373>\
**Category:** Level Help\
**Created:** [November 18, 2021, 5:19pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373 "2021-11-18T17:19:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haris](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@Haris](https://discourse.codecombat.com/u/Haris)\
**Post date:** [November 18, 2021, 5:19pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/1 "2021-11-18T17:19:42Z")

</div>

i don’t understand how do i complete the level please help, thank you

```python
# Collect the treasure.
# No flags.
# No summons.
# No jumps.
# No magic.
# Infringes will be punished.

# Useful constants.
trapAttackRange = 3;
radiusStep = 10;
center = {"x": 68, "y": 68};
pos = {'x': 136, 'y': 68}
# Go, Go, GO!
hazards = hero.findHazards()
for hazard in hazards:
    x = Math.round(hazard.pos.x)
    y = Math.round(hazard.pos.y)
    if hero.isPathClear(pos, center):
        hero.moveXY(68, 68)

```

it about vector and math. and bla bla bla it is rlly confusing 😞  
hope can xplain to me to understand it…

---

<div class="post-metadata">

**Author:** ![Aya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/aya/32/42680_2.png) [@Aya](https://discourse.codecombat.com/u/Aya)\
**Post date:** [November 19, 2021, 7:15am UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/2 "2021-11-19T07:15:30Z")

</div>

> [@Haris](#):
>
> `pos = {'x': 136, 'y': 68}`

Did you put this line or it was there by default?

And vectors, you can think about them as lines, but instead of being drawn on paper, like 2D, they can have a 3rd dimension. They are also _curved_ lines, so think about this as if you are drawing a line not using a ruler but creating an arc. So they are in conclusion, curved lines, or arcs, that can have 3 dimensions (x, y, z). Hope this helps.

---

<div class="post-metadata">

**Author:** ![Haris](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@Haris](https://discourse.codecombat.com/u/Haris)\
**Post date:** [November 21, 2021, 7:02pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/3 "2021-11-21T19:02:04Z")

</div>

how do i make hero move spiral instead of just circle

---

<div class="post-metadata">

**Author:** ![stormbringer](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@stormbringer](https://discourse.codecombat.com/u/stormbringer)\
**Post date:** [November 21, 2021, 9:16pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/4 "2021-11-21T21:16:18Z")

</div>

“They (vectors) are also _curved_ lines, so think about this as if you are drawing a line not using a ruler but creating an arc. So they are in conclusion, curved lines, or arcs …”  
Are you talking about this Vector:

 ![Vector](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/3X/6/e/6e88379b64adefeba79992735bcb77cc125b4b6e.jpeg)

@Aya Edit:  
If you haven’t studied them at school yet: [Vectors](https://www.youtube.com/results?search_query=vectors+khan+academy+)  
For some, this would be useful even in a technical university, vectors have numerous applications in physics

---

<div class="post-metadata">

**Author:** ![Aya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/aya/32/42680_2.png) [@Aya](https://discourse.codecombat.com/u/Aya)\
**Post date:** [November 22, 2021, 6:16am UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/5 "2021-11-22T06:16:47Z")

</div>

Umm, idk

That was the best explanation i thought of.

---

<div class="post-metadata">

**Author:** ![Haris](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@Haris](https://discourse.codecombat.com/u/Haris)\
**Post date:** [November 22, 2021, 10:41am UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/6 "2021-11-22T10:41:59Z")

</div>

> [@Haris](#):
>
> how do i make hero move spiral instead of just circle

i need help with this.

---

<div class="post-metadata">

**Author:** ![Haris](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@Haris](https://discourse.codecombat.com/u/Haris)\
**Post date:** [November 26, 2021, 2:19pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/7 "2021-11-26T14:19:17Z")

</div>

i complete the level.

---

<div class="post-metadata">

**Author:** ![riticmaster908](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/riticmaster908/32/43503_2.png) [@riticmaster908](https://discourse.codecombat.com/u/riticmaster908)\
**Post date:** [November 26, 2021, 4:08pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/8 "2021-11-26T16:08:10Z")

</div>

ritic cheese go brrrrrr (sorry for spam)

---

<div class="post-metadata">

**Author:** ![Haris](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@Haris](https://discourse.codecombat.com/u/Haris)\
**Post date:** [November 26, 2021, 4:30pm UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/9 "2021-11-26T16:30:49Z")

</div>

lol it ok.don’t u dare read this

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/a/a9445509d1a758c41b5ddcddc8c8e20a5dedb67f.png) [@system](https://discourse.codecombat.com/u/system)\
**Post date:** [November 27, 2021, 4:31am UTC](https://discourse.codecombat.com/t/broken-circle-help-solved/31373/10 "2021-11-27T04:31:47Z")

</div>

Closed on November 27, 2021, 4:31am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
