Nice work, this is actually a really fun game although quite bugged.
It seems like the only way to efficiently mine is to point the pickaxe so it's facing right and just let it go down diagonally. You make quite a lot of progress without even moving. But then once you get to the edge and have to turn and face the other way, that's where I get stuck and always die.
There's definitely some potential here if you polished out all the bugs and made it clearer how to play efficiently!