Not sure why I spent 2 hours playing this, but I got very far (I think)...
i am mainly impressed you did it without auto buy