Move your character (the 'P') left and right. Try to jump on the button (the 'T') to lower the brigde (the sequence of '*' characters).
To win, reach the exit (marked as 'E').
On mobile devices: swipe left and right on the display area above; tap to jump.