# Creating a Scoreboard for Simple Game

**URL:** <https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075>\
**Category:** Electronics (Arduino, etc.)\
**Tags:** homework\
**Created:** [October 4, 2022, 1:31pm UTC](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075 "2022-10-04T13:31:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![debxyz](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@debxyz](https://discourse.processing.org/u/debxyz)\
**Post date:** [October 10, 2022, 2:48am UTC](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075/3 "2022-10-10T02:48:22Z")

</div>

Hello @honeydew

This previous forum topic may give you some ideas on how to proceed implementing a scoreboard:

> [@Score counter Help](https://discourse.processing.org/t/score-counter-help/11587):
>
> Hi, i have made a program to where balls would enter a basket and for every ball that enters (5 balls) + 10 to the counter and the balls would reset to the start. I made my balls in an array: Ball[] bballs = new Ball[5]; void setup(){ size(640,480); // create balls for(int i = 0; i\<bballs.length; i++) { bballs[i] = new Ball(); } } The problem is that when all the balls are sent into the basket at the same time, the counter would only update by +10 instead of +50. If 1 ball w…

Hope this helps!  
🤓

---

_[View the full topic](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075)._
