I’m trying to build a game where user will enter words in a single input text box for like 1 min.
After each word the user will hit enter . On enter event the word would be stored be in an array & erase the contents of input text box ready for another word & keep doing it for certain time limit.
I’m having problem in how to define that event that when user hit enters store the word & erase the text box. Any idea?