Main entry point for the console interface to the game.
Converts a string into a direction.
direction "\ESC[D"Just West
Gets up to three characters from standard input. If the input corresponds
to an arrow key, it will be returned. Otherwise
Nothing will be returned.
Will only consume enough input to determine if the input is an arrow key or
Reads from standard input and converts it into a direction. See