Use the arrow keys to move. The rest is explained in the project. This is still a work in progress, and there is lots of room for improvement.