Left and right to move. Up to jump while moving forwards and Space to just jump upwards. If you are on the ladder, press t to climb it and down to go down it.
If you want to know the code, look inside the project. If you want to have any code, I don't need any credit. (However if you want to, you can)