Use the arrow keys to move and the goal is to get to the gold. (Don't touch the black blocks!) :)
I got the idea from multiple games I have seen on scratch. I thank everybody who made those games, they were great! :D