the challenge in this game does not appear to be where the developer intended it to be. rather than teleporting around the entirety of the too-big-for-a-screen room, it’s better to just place the few movable blocks in such an arrangement that you are safe from all attacking enemies. you’re still plagued by your constantly-depleting HP bar regardless of whether anything else is on-screen, however, so the real challenge of the game is in teleporting out to get energy and estimating how far the screen will have scrolled in order to quickly jump back into your box, all while fighting against the game’s desire to pick up energy cubes over anything remotely near what you’re actually clicking
also: never put a QUIT button that tries to exit the game in a web version of a game, it will just freeze the tab