Sorry for my english, I use Google Trad
Hi, I need help with something that seemed simple to me, but is ultimately giving me a hard time.
I think there are many here who will have the right method, thank you in advance.
I would like to create a score counting application, on a screen I add the players as well as the target score to achieve.
Then, we switch to the counting screen. I need for each player to create a card with their name and several buttons.
The buttons are:
+5, +10, +15, +20, +25
-5, -10, -15, -20, -25
You also need an additional button which will be used to validate the score.
Example: the score to reach is 100 points, player 1 obtains +5, +25 and +20. Total 50 points, validate with the button next to your name.
Then, player 1 plays again and gets +25, +25, +25, total 75 points, validate with the button. But the total of the previous round + this one is 125 points, so we have exceeded the target score, it must return to the previous score of 50 points.
What I have already managed to do:
- Add players
- Create cards and buttons for each player
- For each player, the score buttons work
This part is probably not optimized, but functional.
It remains to make the target score which I cannot save and return to the old score if we exceed it.
Thank you all for your help !
ScoreCounter(3).aia (70.1 KB)