Every frame, for each bullet, find a rock it touches (a bullet is a circle of radius 2). If there is one, break it and
set the bullet's life to 0, so the filter line right after removes it.
```js
for (const bullet of bullets) {
const hit = asteroids.find((asteroid) => hits(bullet, 2, asteroid, asteroid.r))
if (hit) {
breakAsteroid(hit)
bullet.life = 0
}
}
```
What it means
find returns the first rock that the bullet hits, or undefined if there is none.
if (hit) is true only when a rock was found.
Your turn
In update, above the bullets = bullets.filter(...) line, write the loop.