Use the arrow keys or WASD to move. Your energy bar is on the right of the screen, in your player colour. Walk over tiles to convert them to your colour. Go back to your starting corner to refill your energy. Cover the arena with your colour, and don't get trapped!