Use the arrow keys to move, A and D to slide left or right, W and S to move backwards and foward if you prefer WASD controls, 1 for map, (You can still move) 2 to hide settings, and 3 to show the settings.
Thanks to @griffpatch for the tutorial. I added some things to the game that were not in the tutorial. All code is from me.