# How to fix my scoring code and how to input a game over feature/screen when the ball hit the ground?

**URL:** <https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402>\
**Category:** Coding Questions\
**Created:** [May 20, 2019, 4:46am UTC](https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402 "2019-05-20T04:46:37Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![humayung](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/humayung/32/6089_2.png) [@humayung](https://discourse.processing.org/u/humayung)\
**Post date:** [May 20, 2019, 1:46pm UTC](https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402/13 "2019-05-20T13:46:59Z")

</div>

Hi! @grodothefrog i understand debugging is frustrating  
is it the entire sketch? i cannot find `drawBill()` in there. please post the working sketch so everyone can run it.

this \>[The project has ended](https://discourse.processing.org/t/the-project-has-ended/9808)

is it the `drawBill()` there? sorry for random guessing 😏

---

_[View the full topic](https://discourse.processing.org/t/how-to-fix-my-scoring-code-and-how-to-input-a-game-over-feature-screen-when-the-ball-hit-the-ground/11402)._
