Hi,
I guess you are using Scanner class , am I right ?
You have two problem here
1) the
word "end turn" read as 2 input
String into your system
2) the while condition have problem , are you trying to use && instead of ||
If you don't want to use Scanner class, you might use the following code to read user input
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String userInput = stdIn.readLine();
I think this will help you , please sort out what really you want to achieve with the condition in your while loop.