Use the left and right arrow keys to move from left to right. Avoid the trees and rocks and try to last the longest. If your timer ever equals 300, you have gotten back to your time machine.
I used the trees and rocks from the Scratch sprite library, including the dinosaur. I also coded it myself.