Arrow keys to move, avoid the enemies. If you wait too long between moving, it cuts your connection(30 seconds). When an enemy goes to the edge of the screen, it will respawn on the other side in the same column/row, the column/row next to it/above, or the column/row on the other side/below.
Heftily inspired by @Mjm3, all code mine.