Why are you adding your ActionListeners in a loop? That's just going to cause the same thing to happen multiple times.
Type: Posts; User: KevinWorkman
Why are you adding your ActionListeners in a loop? That's just going to cause the same thing to happen multiple times.
No, ActionListeners are not like Scanners- your program will not halt and wait for user input. Instead, call a method that checks for a win or a loss after the user chooses an option.