# Catcher game (game over)

**URL:** <https://discourse.processing.org/t/catcher-game-game-over/16944>\
**Category:** Coding Questions\
**Created:** [January 7, 2020, 11:11pm UTC](https://discourse.processing.org/t/catcher-game-game-over/16944 "2020-01-07T23:11:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [January 8, 2020, 1:47am UTC](https://discourse.processing.org/t/catcher-game-game-over/16944/2 "2020-01-08T01:47:04Z")

</div>

please format your code posting by pasting it into the

```auto
</> code button

```

of the editor header menu ( context name: Preformatted text )  
it looks like  
```  
type or paste code here  
```

also can use the ``` manually above and below your code.

thank you.

* * *

why you double post?

> [@Help with catcher game](https://discourse.processing.org/t/help-with-catcher-game/16715/6):
>
> I really cant figure it out, isnt the loop going to look like the one that is already in de code? for (a = 0; a \< 17; a++) { And how do i make it so that i count endlessly until je lose and miss a ball. Because now it counts to 17

* * *

you mean,  
if inside

```auto
class Ball

```

method

```auto
void fall() {

```

the variable hits bottom of canvas?

```auto
if ( bodyY >= height ) {
  // do something
}

```

---

_[View the full topic](https://discourse.processing.org/t/catcher-game-game-over/16944)._
