Use the right arrow key to move the dog and cat! Who will win the race? Make sure to hold the front arrow key till both stop moving at the edge.
I made this using my brain.