A game of tokens: solution - Part 4
By Leonardo Giordani -
This post originally contained my solution to the challenge posted here. I moved those solutions inside the post itself, under the "Solution" subsections.
Feel free to reach me on Twitter if you have questions. The GitHub issues page is the best place to submit corrections.