If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Click and drag to draw a line to serve as pathway for the dog to reach its goal. Be sure to avoid the mines. Watch out also for the magic sand bar to know your limit in drawing the line. Press GO if you're ready with your drawing. Good luck and have fun!