Nice concept, but needs polish :)
I tried putting a block right next to the tree after the first bridge, and the character went back (as expected) but then the game never ended.