Hello Forum, I've always been fascinated by the concept of programming games, and I have been learning a little python, java, sometimes dabbling in to game programming a tiny bit...
But now I've been learning Java in school as well, so I have something to start with.
Anyway, I'm using Netbeans and I want to create something like this:
-----
|...|
|...|
|..x|
----- (It looks a lot better in Netbeans, lined up and stuff)
So basically a small room, maybe even more than one, where the player controls the X with the w,a,s,d keys. Very simple, I've done the exact same thing in Python.
Although the above is not relevant to the problem, I felt like telling you guys anyway.

Actual problem:
public static String getnextkey(){
String key = "";
Scanner keyscan = new Scanner(System.in);
System.out.print("Input:");
while (!key.equals("w") || !key.equals("a") || !key.equals("s") || !key.equals("d")) {
key = keyscan.next(); } System.out.println("yes");
return key;
I couldn't get this to work, and added the sys.out.print("yes") as a sort of debug method, and whatever I type, I can't seem to get that "yes."
Why?