1
Heii! I am trying to display a temporary text and I don't know how. I have a game in which the player has to roll some dices for maximum three times. After he rolls he has to place his points in a table. I've done that. But know I want to show him some hints. The idea is that I want to show the hints in the table when he rolls the dices, but this text has to change always when he presses the roll button and has to disappear after he chooses where to place it's points. Can you help me with an idea of how can I display that text when a button is pressed and change it when it is pressed again and delete it when he places his points.
This is the game: https://cardgames.io/yahtzee/
I want to make those numbers that appear with red in the table when you roll the dice.
Thank you!
This is the game: https://cardgames.io/yahtzee/
I want to make those numbers that appear with red in the table when you roll the dice.
Thank you!