If you make it to the green at the end you win, sorry I couldn't change the background to "You Win" so type in the comments to tell me how
Thanks @demir999 for helping me :-)