well, you use the arrow keys to move, but don't touch red or brown. the black box tells you what thing to avoid next. click the flag twice
i mean, i made this 100% by my self, and this game was originally an elevator battle, but there was an error, so I had to change the code a lot, but i an now glad i did that, cause this version is WAY better.