Writing code for a basic version of the Snake game in Java.
W, A, S, and D are the arrows Up, Left, Down, and Right. Currently my code makes the user press enter after the letter is pressed. Is there any simple way to make it so enter doesn't need to be pressed?
TIA.