Making a Lemmings clone

Hey, hey! its been a while.
Anyways Ive been playing this game called “pingus”
It’s a lemmings clone (if any of you know that game) and it inspired me to make my own lemmings clone.
But how do I do it?

You mean the whole game or a specific mechanic?

I just want to know how to make the digger and the basher mechanic

You could look at the marching squares examples, particularly the Destructable platforms - I think that’d be just what you’re after.