Use the arrow keys to move. Press space to set a bomb. Try to kill the crabs.
I watched a tutorial on inventwithscratch.com Thanks to @starwarswalker for helping me with a glitch!