Use the arrow keys (5, 6, 7, 8) to grab cubes, avoid monsters and jump into the teleport to escape.
JSZeddy, by Erik Olofsen based on JSSpeccy and Z81 emus.
For programs that don’t auto-run, press R then ENTER.
Also you may need to click on the applet to enable keyboard entry.