Press the squares at the bottom to do the move and use the WASD keys to move.
Credit to @TheCoolCreeper for some of the code. There are some bugs, if you know how to fix it, please but it in the comments.