¿Can i repeat the same with an instance variable?
Develop games in your browser. Powerful, performant & highly capable.
The instance variable should be set to text and not number:
Then you do exactly the same but instead of setting text your set the instance variable value