(like in there is no game)
Develop games in your browser. Powerful, performant & highly capable.
You can use an instance variable to serve as a durability value.
Like, "block" on collision with "ground" > subtract 1 from "durability" (instance variable)
Then when the value is equal or lower than 0, you can destroy the block.