I’ve been working on a bit of AI, and this is how it’s turned out.
A & D to move Left / Right. you cannot jump.
click to place portals. blue sucks, red blows (thankyou Douglas Adams). placing a red underground will make the terrain higher, if you are standing on it, you move up too. dropping ground on an enemy kills it, turning it into what is basically a ground tile (which you can use as a “weapon”, along with the rest of the ground)