My favorite resource on Thompson Sampling is <https://everyday-data-science.tigyog.app/a-b-testing>.
After learning about it, I went on to replace the UCT formula in MCTS with it and the results were... not much better, actually. But it made me understand both a little better.