In the game, I have created a stack of strings. What I want to achieve is to display the first String in this stack and wait for the user's input. The user's input is stored in another String, and I can compare those two. However, if I put the lines.pop() in the act(); it pops a string in each act, so it's going through my entire list very fast. What can I do to make it pop and stays on the screen until the reader inputs the right string, compare, and then pop() the next String in my stack.
Stack<String> lines = new Stack<String>();
