WASD controls, S does nothing. You bounce off walls and the roof. You can stand on the floor. You can only jump when in contact with either the floor or the walls, you fall down upon colliding with the roof.
I was just kind of bored so yeah... feel free to copy or remix :)