Thought this was interesting, so I made it in C#. I could've optimised a bit more in the Choose function but regardless, this is super cool!
https://gist.github.com/Zyst/0da505007b0e8c21418247000f3e7d4...
https://gist.github.com/Zyst/0da505007b0e8c21418247000f3e7d4...
No comments yet.