Is it possible to get a single key press without having the user press enter? So, say if you were writing a game, say an RPG, to high WASD to move. Ie:
x = getkey()
if x = "w"
# blah blah blah
if x = "a"
# blah blah blah
if x = "s"
# blah blah blah
if x = "d"
# blah blah blah
I read about a getch()
function, but I don't know if that's what I'm looking for.