You can use W to move up, S to move down, A to move to the left, and D to move to the right. Hold M to bring up the map.
The map is used as the terrain as well. There are Comments everywhere within the project. Read them. This is a starter project, I encourage you to remix and use this project's code for whatever you like.