for ( {
out.print(">")

That doesn't seem valid to me.

String input = keyboard.next();
String playername = "Player";

String input = input;