use left arrow, right arrow, up arrow, and down arrow to move in different directions, space to throw you're dagger. if you have thrown you're dagger and the dagger has hit the brown ghost, then the brown ghost will go to a different place. P.S. you can hold down space to keep you're dagger in the air.
i made this one by myself (once again). with a lot of command blocks. it took about 20 minutes to make. it was very complicated and tiring, but in the end i got there.