It has no any practical purpose. However I think it got somewhat fancy so I post it.
So it has adjustable output voltage and overcurrent protection. The goal was to make something with minimal set of basic parts.
Simulation here https://tinyurl.com/ywqfok6x
Would be cool to hear any design suggestions, but again it is just for fun and probably won’t be wired