added regex for input validation. game engine needs to assume every move command equals one step in the desired direction